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 .PHONY: commit
commit: commit:
$(DOCKER_RUN) git commit -m "$(msg)" $(DOCKER_RUN) git commit -m "$(msg)"
.PHONY: all
all:
$(DOCKER_RUN) npm run all

View File

@ -8,6 +8,7 @@
"npm": ">=6.14.2" "npm": ">=6.14.2"
}, },
"scripts": { "scripts": {
"all": "npm run format && npm run lint && npm test",
"lint": "eslint ./{src,__tests__}/**/*.ts", "lint": "eslint ./{src,__tests__}/**/*.ts",
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts", "lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
"test": "jest --coverage --verbose --detectOpenHandles", "test": "jest --coverage --verbose --detectOpenHandles",