From aab607d7c1c1dd6b54ff25d884e0c1baf2b063fe Mon Sep 17 00:00:00 2001 From: RasPhilCo Date: Thu, 25 Jun 2020 14:11:20 -0700 Subject: [PATCH] chore: add compile check to pretest (#121) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 08c64273..809fc1aa 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "prepack": "yarn run build", "test": "mocha --forbid-only \"test/**/*.test.ts\"", "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md", - "pretest": "tsc -p test --noEmit" + "pretest": "yarn build --noEmit && tsc -p test --noEmit" }, "types": "lib/index.d.ts" }