Skip to content

Commit

Permalink
Add postinstall npm hook
Browse files Browse the repository at this point in the history
Until npm/npm#3055 is fixed
  • Loading branch information
luchkonikita committed Jul 19, 2016
1 parent f5a61f6 commit 0ac7c11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"clean": "rimraf build",
"test": "mocha ./test/portal_spec.js",
"lint": "mocha test/eslint_spec.js",
"prepublish": "cross-env NODE_ENV=production npm run build"
"prepublish": "cross-env NODE_ENV=production npm run build",
"postinstall": "npm run clean && env NODE_ENV=production npm run build"
},
"tags": [
"react"
Expand Down

0 comments on commit 0ac7c11

Please sign in to comment.