From b5fb6528863e941f180e88cffcae9ac53ad98bbf Mon Sep 17 00:00:00 2001 From: Damon Oehlman Date: Tue, 16 Jun 2020 21:07:09 +1000 Subject: [PATCH] ensure full compilation happens prior to publish (#143) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7c8a1d1..f6ba478 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "compile:commonjs": "tsc", "compile:es": "rimraf es && tsc --outDir es --module es6 --declaration false", "compile-and-size": "yarn tsc && cat index.js | gzip | wc -c", - "prepare": "npm run test && npm run lint", + "prepare": "npm-run-all compile test lint", "patch-release": "npm version patch && npm publish && npm run postpublish", "minor-release": "npm version minor && npm publish && npm run postpublish", "major-release": "npm version major && npm publish && npm run postpublish",