Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
🌱 Add conditional build postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
willclarktech committed Jun 15, 2018
1 parent a1f64fd commit 4543768
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 @@ -59,6 +59,7 @@
"build:check": "node -e \"require('./dist-node')\"",
"precommit": "lint-staged && npm run lint",
"prepush": "npm run lint && npm test",
"postinstall": "if [ ! -f ./dist-node/index.js ]; then npm run build; fi",
"prepublishOnly": "rm -r ./node_modules && npm install && npm run prepush && npm run build",
"prepublish:browser": "npm run prepublishOnly",
"publish:browser": "./bin/publish_browser.sh",
Expand Down

0 comments on commit 4543768

Please sign in to comment.