diff --git a/changelog.d/178.misc b/changelog.d/178.misc new file mode 100644 index 00000000..d121dc8d --- /dev/null +++ b/changelog.d/178.misc @@ -0,0 +1 @@ +Run NPM `build` on `prepublish`. \ No newline at end of file diff --git a/package.json b/package.json index bab3fa3a..cb5b7b78 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "lint:ts": "eslint -c .eslintrcts.json --max-warnings 0 src/**/*.ts", "test": "BLUEBIRD_DEBUG=1 jasmine --stop-on-failure=true", "check": "npm run lint && npm test", - "ci-test": "BLUEBIRD_DEBUG=1 nyc -x \"**/spec/**\" --report text jasmine" + "ci-test": "BLUEBIRD_DEBUG=1 nyc -x \"**/spec/**\" --report text jasmine", + "prepublish": "npm run build" }, "repository": { "type": "git",