mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Uninstall husky
This commit is contained in:
parent
3d0a0a612d
commit
c80ae113e2
1
.githooks/pre-commit
Executable file
1
.githooks/pre-commit
Executable file
@ -0,0 +1 @@
|
||||
npm run eslint && npm test
|
||||
@ -14,6 +14,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"eslint": "eslint scripts/ source/js test/",
|
||||
"prepare": "git config --local core.hooksPath .githooks/",
|
||||
"stylint": "stylint source/css/",
|
||||
"test": "mocha test/index.js"
|
||||
},
|
||||
@ -35,14 +36,8 @@
|
||||
"eslint": "7.19.0",
|
||||
"hexo": "5.3.0",
|
||||
"hexo-renderer-marked": "3.3.0",
|
||||
"husky": "4.3.8",
|
||||
"js-yaml": "4.0.0",
|
||||
"mocha": "8.2.1",
|
||||
"stylint": "2.0.0"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run eslint && npm test"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user