Moved both prettier config and husky config into package.json
This commit is contained in:
parent
dddd8f32e8
commit
50339a2480
3 changed files with 11 additions and 11 deletions
5
.huskyrc
5
.huskyrc
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"hooks": {
|
||||
"pre-commit": "npm run pretty-quick"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"trailingComma": "es5",
|
||||
"semi": false,
|
||||
"singleQuote": false,
|
||||
"printWidth": 100
|
||||
}
|
||||
11
package.json
11
package.json
|
|
@ -18,6 +18,17 @@
|
|||
"pretty-quick": "pretty-quick --pattern \"**/*.*(html|js|json|vue)\"",
|
||||
"test": "start-server-and-test start http-get://localhost:3000 e2e"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run pretty-quick"
|
||||
}
|
||||
},
|
||||
"prettier": {
|
||||
"trailingComma": "es5",
|
||||
"semi": false,
|
||||
"singleQuote": false,
|
||||
"printWidth": 100
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxtjs/axios": "^5.9.5",
|
||||
"@nuxtjs/google-analytics": "^2.2.3",
|
||||
|
|
|
|||
Loading…
Reference in a new issue