Skip to content

Commit

Permalink
Add app.json, mod client/package.json for node-sass deploy (#389)
Browse files Browse the repository at this point in the history
* Add app.json and modify client/package.json

Because of Node-sass issues with yarn
Per yarnpkg/yarn#1981 (comment)
  • Loading branch information
justin808 authored Apr 25, 2017
1 parent 935a33c commit 3dde0e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"NODE_MODULES_CACHE": "false",
}
}
1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},
"homepage": "https://github.com/shakacode/react-webpack-rails-tutorial",
"scripts": {
"postinstall": "npm rebuild node-sass",
"test": "NODE_PATH=./app mocha --compilers js:babel-core/register --require ./app/libs/testHelper.js --require ./app/libs/testNullCompiler.js 'app/**/*.spec.@(js|jsx)'",
"***REMOVED***debug": "yarn run test -- --debug-brk",
"start": "babel-node server-express.js",
Expand Down

0 comments on commit 3dde0e6

Please sign in to comment.