adding cross-env command to npm start scripts for windows compatibility.

old
NogsMPLS 2015-11-16 19:02:52 -06:00
parent b351237fb3
commit 4227201eb1
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"description": "Documentation for React Toolbox",
"author": "React Toolbox Team (http://github.com/react-toolbox)",
"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",
"deploy": "gh-pages -d build"
},

View File

@ -18,7 +18,7 @@
],
"main": "./lib",
"scripts": {
"start": "node ./server",
"start": "cross-env NODE_ENV=development UV_THREADPOOL_SIZE=100 node ./server",
"lint": "eslint ./ --ext .js,.jsx",
"babel": "babel ./components --out-dir ./lib",
"sass": "cpx './components/**/*.scss' ./lib",