Commit cc1d9053 authored by Nikolay Gromov's avatar Nikolay Gromov

Подпилил husky

parent 2a457fa1
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
"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", "img-opt": "cross-env folder=src/img npm start img:opt",
"lint-staged": "lint-staged", "lint-staged": "lint-staged"
"precommit": "lint-staged"
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
...@@ -86,5 +85,10 @@ ...@@ -86,5 +85,10 @@
"jquery": "^3.1.1", "jquery": "^3.1.1",
"object-fit-images": "^3.2.3", "object-fit-images": "^3.2.3",
"svg4everybody": "^2.1.8" "svg4everybody": "^2.1.8"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
} }
} }
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