Попытка унифицировать выполнение NPM-скриптов с переменными окружения
Showing
... | ... | @@ -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", | ||
... | ... |
Please
register
or
sign in
to comment