From 01fdaf2f0274401d2403c809b20c37fb7a8535a6 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Mon, 16 Mar 2020 00:43:59 +0000 Subject: [PATCH] chore: Add new task all --- Makefile | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) 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",