Skip to content

Commit e3c35a3

Browse files
authored
Support building on Windows (#1115)
* Support building on Windows Closes: #1097 * Revert "Support building on Windows" This reverts commit caf5a09. * remove conflicts
1 parent 972d95c commit e3c35a3

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

package-lock.json

Lines changed: 13 additions & 3 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
@@ -80,6 +80,7 @@
8080
"babel-loader": "8.0.6",
8181
"babel-plugin-transform-object-rest-spread": "6.26.0",
8282
"core-js": "3.2.1",
83+
"cross-env": "5.2.0",
8384
"css-loader": "3.2.0",
8485
"eslint": "6.1.0",
8586
"eslint-plugin-jest": "22.15.1",
@@ -106,8 +107,8 @@
106107
"dev": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --devtool eval-source-map --progress --watch",
107108
"dashboard": "node ./Parse-Dashboard/index.js & webpack --config webpack/build.config.js --progress --watch",
108109
"pig": "http-server ./PIG -p 4041 -s & webpack --config webpack/PIG.config.js --progress --watch",
109-
"build": "NODE_ENV=production webpack --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
110-
"test": "NODE_PATH=./node_modules jest",
110+
"build": "cross-env NODE_ENV=production webpack --config webpack/production.config.js && webpack --config webpack/PIG.config.js",
111+
"test": "cross-env NODE_PATH=./node_modules jest",
111112
"lint": "eslint . --ignore-path .gitignore --cache",
112113
"pretest": "npm run lint",
113114
"generate": "node scripts/generate.js",

0 commit comments

Comments
 (0)