Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Jun 2, 2017
1 parent b40f5f6 commit 8f9b541
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/dummy/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"fs": false
},
"scripts": {
"postinstall": "yarn run install-react-on-rails",
"install-react-on-rails": "rm -rf node_modules/react-on-rails && npm i 'file:../../..'",
"postinstall": "npm run install-react-on-rails",
"install-react-on-rails": "rm -rf node_modules/react-on-rails && npm i --no-shrinkwrap 'file:../../..'",
"lint": "eslint --ext .js,.jsx .",
"test": "yarn run build:test && rspec",
"build:test": "yarn run build:test:client && yarn run build:test:server",
Expand Down
2 changes: 1 addition & 1 deletion spec/dummy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"postinstall": "cd ./client && yarn install",
"install-react-on-rails": "cd client && yarn run install-react-on-rails",
"install-react-on-rails": "cd client && npm run install-react-on-rails",
"test": "yarn run build:test && yarn run lint && rspec",
"lint": "cd client && yarn run lint",
"build:clean": "rm -rf public/webpack || true",
Expand Down

0 comments on commit 8f9b541

Please sign in to comment.