Skip to content

Commit

Permalink
chore: Add new task all
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Mar 16, 2020
1 parent 75c03d0 commit 01fdaf2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ test:
.PHONY: commit
commit:
$(DOCKER_RUN) git commit -m "$(msg)"

.PHONY: all
all:
$(DOCKER_RUN) npm run all
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"npm": ">=6.14.2"
},
"scripts": {
"all": "npm run format && npm run lint && npm test",
"lint": "eslint ./{src,__tests__}/**/*.ts",
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
"test": "jest --coverage --verbose --detectOpenHandles",
Expand Down

0 comments on commit 01fdaf2

Please sign in to comment.