From ef638c00fdbdfa04ee5f25b446a0286bc45f01df Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Mon, 13 Jun 2022 12:00:13 -0600 Subject: [PATCH] Add 'build' goal for check + dist without test --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e6f5e1b..849ef05 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,11 @@ "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", "lint": "eslint src/**/*.ts", - "build": "ncc build src/main.ts --out dist/main --source-map && ncc build src/post.ts --out dist/post --source-map", + "compile": "ncc build src/main.ts --out dist/main --source-map && ncc build src/post.ts --out dist/post --source-map", "test": "jest", "check": "npm run format && npm run lint", - "all": "npm run format && npm run lint && npm run build && npm test" + "build": "npm run check && npm run compile", + "all": "npm run build && npm test" }, "repository": { "type": "git",