Skip to content

Commit 4f006d5

Browse files
committed
ensure the node module is build when installing from github directly
when not using npmjs.org (e.g. in the case of testing a fork)
1 parent d3abdf5 commit 4f006d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"scripts": {
1111
"build": "tsc",
1212
"build:watch": "tsc --build --watch",
13+
"prepare": "npm run build",
1314
"prepublishOnly": "rm -rf dist && npm run build",
1415
"postpublish": "git push && git push --tags",
1516
"test": "(cd tests && npm test)"

0 commit comments

Comments
 (0)