Skip to content

Commit

Permalink
Remove prepare script and add postinstall-build dep
Browse files Browse the repository at this point in the history
  • Loading branch information
bonustrack committed Jul 27, 2017
1 parent 1873a00 commit 1bca32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"build-browser": "rm -rf dist && NODE_ENV=production webpack && gzip -k -f ./dist/*.js && du -h ./dist/*",
"build-node": "mkdir -p ./lib && cp -r ./src/* ./lib/ && babel ./src --out-dir ./lib",
"prepublish": "npm run build",
"prepare": "npm run build",
"postinstall": "npm run build && cross-env scripts/post-install.js"
"postinstall": "postinstall-build lib && cross-env scripts/post-install.js"
},
"browser": {
"ws": false,
Expand Down Expand Up @@ -48,6 +47,7 @@
"ecurve": "^1.0.5",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.16.4",
"postinstall-build": "^5.0.1",
"secure-random": "^1.1.1",
"ws": "^3.0.0"
},
Expand Down

0 comments on commit 1bca32a

Please sign in to comment.