diff --git a/Makefile b/Makefile index 2977f16..79fac96 100644 --- a/Makefile +++ b/Makefile @@ -21,3 +21,7 @@ test: .PHONY: commit commit: $(DOCKER_RUN) git commit -m "$(msg)" + +.PHONY: all +all: + $(DOCKER_RUN) npm run all diff --git a/package.json b/package.json index a465009..f969179 100644 --- a/package.json +++ b/package.json @@ -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",