Skip to content

Commit 21d769d

Browse files
committed
add postinstall to build dist
- otherwise we cannot use it directly as a git package
1 parent 0f5e52b commit 21d769d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist/lib/promise-poller.js",
66
"scripts": {
77
"prepublishOnly": "npm run build",
8+
"postinstall": "npm run build",
89
"build": "babel -d dist src",
910
"clean": "rm -rf dist",
1011
"lint": "eslint src",

0 commit comments

Comments
 (0)