Commit f442170e authored by Nikolay Gromov's avatar Nikolay Gromov

Попытка унифицировать выполнение NPM-скриптов с переменными окружения

parent 9c251879
......@@ -5,7 +5,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "./node_modules/.bin/gulp",
"deploy": "NODE_ENV=production ./node_modules/.bin/gulp build && ./node_modules/.bin/gulp deploy"
"deploy": "./node_modules/.bin/cross-env NODE_ENV=production ./node_modules/.bin/gulp build && ./node_modules/.bin/gulp deploy"
},
"author": "Nikolay Gromov",
"license": "MIT",
......@@ -16,6 +16,7 @@
"devDependencies": {
"autoprefixer": "^6.3.3",
"browser-sync": "^2.11.1",
"cross-env": "^1.0.7",
"css-mqpacker": "^4.0.0",
"del": "^2.2.0",
"gulp": "github:gulpjs/gulp#4.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment