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" }