Skip to content

Commit

Permalink
Run bootstrap as a postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-wade committed Dec 7, 2016
1 parent 97e5a56 commit 6839546
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"private": true,
"scripts": {
"bootstrap": "npm i && npm run bootstrap-no-i",
"bootstrap": "npm i",
"//": "TODO: Drop `kill-singletons`... eventually",
"bootstrap-no-i": "npm run kill-singletons && asini bootstrap",
"kill-singletons": "asini exec -- rm -rf node_modules/react",
"test": "asini run test",
"clean": "rimraf asini-debug.log && asini run clean",
"nuke": "asini clean && rm -r node_modules",
"changelog": "asini-changelog",
"debug": "cat asini-debug.log && for d in packages/*/npm-debug.log*; do echo $d; cat $d; done"
"debug": "cat asini-debug.log && for d in packages/*/npm-debug.log*; do echo $d; cat $d; done",
"postinstall": "npm run bootstrap-no-i"
},
"devDependencies": {
"babel-eslint": "^7.0.0",
Expand Down

0 comments on commit 6839546

Please sign in to comment.