1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

Adds husky

This commit is contained in:
Amir Raminfar
2018-10-31 15:20:29 -07:00
parent 4a65020cbf
commit 8e23f61220
2 changed files with 812 additions and 270 deletions

1065
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -20,6 +20,9 @@
},
"homepage": "https://github.com/amir20/dozzle#readme",
"dependencies": {
"husky": "^1.1.2",
"lint-staged": "^8.0.4",
"prettier": "^1.14.3",
"vue": "^2.5.17",
"vue-router": "^3.0.1"
},
@@ -35,7 +38,15 @@
"vue-hot-reload-api": "^2.3.1",
"vue-template-compiler": "^2.5.17"
},
"browserslist": [
">5%"
]
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,vue,css}": [
"prettier --write",
"git add"
]
}
}