chore: bump husky from 4.3.8 to 6.0.0

This commit is contained in:
Fernando Fernández 2021-04-12 23:35:02 +02:00
parent c427c8b88b
commit bd95199940
3 changed files with 7 additions and 1 deletions

1
.husky/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_

5
.husky/pre-commit Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm test
npm run lint

View File

@ -72,7 +72,7 @@
"lint": "npm run lint:code && npm run lint:css && npm run prettier",
"lint:code": "eslint --ext .ts,.js .",
"lint:css": "stylelint ./src/css/*.css",
"prepare": "npm run build:production",
"prepare": "npm run build:production && husky install",
"prettier": "prettier --check .",
"start": "TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack serve --config webpack.config.ts",
"test": "jest --passWithNoTests",