Skip to content

Commit

Permalink
add postinstall to build dist
Browse files Browse the repository at this point in the history
 - otherwise we cannot use it directly as a git package
  • Loading branch information
Jackman3005 committed Aug 29, 2022
1 parent 0f5e52b commit 21d769d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "dist/lib/promise-poller.js",
"scripts": {
"prepublishOnly": "npm run build",
"postinstall": "npm run build",
"build": "babel -d dist src",
"clean": "rm -rf dist",
"lint": "eslint src",
Expand Down

0 comments on commit 21d769d

Please sign in to comment.