adding cross-env command to npm start scripts for windows compatibility.
parent
b351237fb3
commit
4227201eb1
|
@ -4,7 +4,7 @@
|
||||||
"description": "Documentation for React Toolbox",
|
"description": "Documentation for React Toolbox",
|
||||||
"author": "React Toolbox Team (http://github.com/react-toolbox)",
|
"author": "React Toolbox Team (http://github.com/react-toolbox)",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./server",
|
"start": "cross-env NODE_ENV=development UV_THREADPOOL_SIZE=100 node ./server",
|
||||||
"build": "cross-env NODE_ENV=production UV_THREADPOOL_SIZE=100 webpack --config ./webpack.config.production --colors --profile --progress",
|
"build": "cross-env NODE_ENV=production UV_THREADPOOL_SIZE=100 webpack --config ./webpack.config.production --colors --profile --progress",
|
||||||
"deploy": "gh-pages -d build"
|
"deploy": "gh-pages -d build"
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
],
|
],
|
||||||
"main": "./lib",
|
"main": "./lib",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./server",
|
"start": "cross-env NODE_ENV=development UV_THREADPOOL_SIZE=100 node ./server",
|
||||||
"lint": "eslint ./ --ext .js,.jsx",
|
"lint": "eslint ./ --ext .js,.jsx",
|
||||||
"babel": "babel ./components --out-dir ./lib",
|
"babel": "babel ./components --out-dir ./lib",
|
||||||
"sass": "cpx './components/**/*.scss' ./lib",
|
"sass": "cpx './components/**/*.scss' ./lib",
|
||||||
|
|
Loading…
Reference in New Issue