add cross-env in UI to accommodate compilation in Windows

This commit is contained in:
cwang 2017-03-16 14:29:42 +08:00
parent 7d4da490fe
commit 9cc14d5a25

View File

@ -1,7 +1,7 @@
{ {
"name": "thingsboard", "name": "thingsboard",
"private": true, "private": true,
"version": "1.2.1", "version": "1.2.0",
"description": "Thingsboard UI", "description": "Thingsboard UI",
"licenses": [ "licenses": [
{ {
@ -11,7 +11,7 @@
], ],
"scripts": { "scripts": {
"start": "babel-node --max_old_space_size=4096 server.js", "start": "babel-node --max_old_space_size=4096 server.js",
"build": "NODE_ENV=production webpack -p" "build": "cross-env NODE_ENV=production webpack -p"
}, },
"dependencies": { "dependencies": {
"@flowjs/ng-flow": "^2.7.1", "@flowjs/ng-flow": "^2.7.1",
@ -48,6 +48,7 @@
"canvas-gauges": "^2.0.9", "canvas-gauges": "^2.0.9",
"clipboard": "^1.5.15", "clipboard": "^1.5.15",
"compass-sass-mixins": "^0.12.7", "compass-sass-mixins": "^0.12.7",
"cross-env": "^3.2.4",
"flot": "git://github.com/flot/flot.git#0.9-work", "flot": "git://github.com/flot/flot.git#0.9-work",
"font-awesome": "^4.6.3", "font-awesome": "^4.6.3",
"javascript-detect-element-resize": "^0.5.3", "javascript-detect-element-resize": "^0.5.3",