Updated make files/scripts to accomodate execution/building in windows in addition to linux/mac (#4135)

This commit is contained in:
Jared Shields
2016-10-04 08:56:01 -04:00
committed by Christopher Speller
parent 1a5a624470
commit 3bac3a0061
6 changed files with 40 additions and 29 deletions

View File

@@ -46,6 +46,7 @@
"babel-preset-react": "6.11.1",
"babel-preset-stage-0": "6.5.0",
"copy-webpack-plugin": "3.0.1",
"cross-env": "3.0.0",
"css-loader": "0.25.0",
"eslint": "3.5.0",
"eslint-plugin-react": "6.3.0",
@@ -54,8 +55,8 @@
"file-loader": "0.9.0",
"html-loader": "0.4.4",
"html-webpack-plugin": "2.22.0",
"imports-loader": "0.6.5",
"image-webpack-loader": "2.0.0",
"imports-loader": "0.6.5",
"jquery-deferred": "0.3.1",
"jsdom": "9.5.0",
"jsdom-global": "2.1.0",
@@ -74,8 +75,8 @@
},
"scripts": {
"check": "eslint --ext \".jsx\" --ignore-pattern node_modules --quiet .",
"build": "NODE_ENV=production webpack",
"run": "NODE_ENV=production webpack --progress --watch",
"build": "cross-env NODE_ENV=production webpack",
"run": "cross-env NODE_ENV=production webpack --progress --watch",
"run-fullmap": "webpack --progress --watch",
"test": "mocha-webpack --webpack-config webpack.config.js \"**/*.test.jsx\""
}