Commit 151af629 authored by Nikolay Gromov's avatar Nikolay Gromov

Добавил npm-скрипт оптимизации картинок

parent 877c12d4
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
"start": "gulp", "start": "gulp",
"deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy", "deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy",
"build": "cross-env NODE_ENV=production npm start build", "build": "cross-env NODE_ENV=production npm start build",
"img-opt": "cross-env folder=src/img npm start img:opt",
"lint-staged": "lint-staged", "lint-staged": "lint-staged",
"precommit": "lint-staged && gulp test:pug" "precommit": "lint-staged && gulp test:pug"
}, },
......
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