Skip to content

Commit caf5a09

Browse files
committed
Support building on Windows
Closes: #1097
1 parent 6ceca3a commit caf5a09

File tree

2 files changed

+31
-42
lines changed

2 files changed

+31
-42
lines changed

package-lock.json

Lines changed: 28 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"babel-loader": "8.0.6",
7575
"babel-plugin-transform-object-rest-spread": "6.26.0",
7676
"core-js": "2.6.5",
77+
"cross-env": "5.2.0",
7778
"css-loader": "2.1.1",
7879
"eslint": "5.16.0",
7980
"eslint-plugin-jest": "22.5.1",
@@ -99,8 +100,8 @@
99100
"dev": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --devtool eval-source-map --progress --watch",
100101
"dashboard": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --progress --watch",
101102
"pig": "http-server ./PIG -p 4041 -s & webpack --config webpack/PIG.config.js --progress --watch",
102-
"build": "NODE_ENV=production webpack --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
103-
"test": "NODE_PATH=./node_modules jest",
103+
"build": "cross-env NODE_ENV=production webpack --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
104+
"test": "cross-env NODE_PATH=./node_modules jest",
104105
"lint": "eslint . --ignore-path .gitignore --cache",
105106
"pretest": "npm run lint",
106107
"generate": "node scripts/generate.js",

0 commit comments

Comments
 (0)