Skip to content

Commit

Permalink
Merge pull request #178 from matrix-org/hs/run-build-on-prepublish
Browse files Browse the repository at this point in the history
Run build on local install
  • Loading branch information
Half-Shot authored Jul 24, 2020
2 parents e951555 + 12cf455 commit 3a6d89b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/178.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Run NPM `build` on `prepublish`.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3a6d89b

Please sign in to comment.