mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
Use cross-env to set NODE_ENV
This commit is contained in:
parent
c017a8dab6
commit
855750a239
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
|||
"bower": "^1.7.0",
|
||||
"browserify-hmr": "^0.3.1",
|
||||
"chai": "^3.4.1",
|
||||
"cross-env": "^1.0.7",
|
||||
"gulp": "^3.9.0",
|
||||
"gulp-util": "^3.0.7",
|
||||
"ismobilejs": "^0.3.9",
|
||||
|
@ -43,7 +44,7 @@
|
|||
"vueify-insert-css": "^1.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node node_modules/bower/bin/bower install && NODE_ENV=production && gulp --production",
|
||||
"postinstall": "bower install && cross-env NODE_ENV=production && gulp --production",
|
||||
"test": "mocha --compilers js:babel-register resources/assets/js/tests/**/*Test.js"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue