chore: Add new task all

This commit is contained in:
peaceiris 2020-03-16 00:43:59 +00:00
parent 75c03d0413
commit 01fdaf2f02
2 changed files with 5 additions and 0 deletions

View File

@ -21,3 +21,7 @@ test:
.PHONY: commit
commit:
$(DOCKER_RUN) git commit -m "$(msg)"
.PHONY: all
all:
$(DOCKER_RUN) npm run all

View File

@ -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",