mirror of
https://github.com/denysdovhan/wtfjs.git
synced 2025-08-16 11:42:11 +08:00
fix: fix formatting scritps
This commit is contained in:
13
package.json
13
package.json
@ -7,8 +7,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"toc": "npx doctoc --github --title '# Table of Contents' --maxlevel 2 README*.md",
|
||||
"format": "prettier --write --ignore-unknown .",
|
||||
"test": "prettier --check --ignore-unknown .",
|
||||
"format": "prettier --write .",
|
||||
"test": "prettier --check .",
|
||||
"release": "npx semantic-release",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
@ -49,13 +49,8 @@
|
||||
"update-notifier": "^2.0.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"README*.md": [
|
||||
"npm run toc",
|
||||
"npm run format"
|
||||
],
|
||||
"**/*": [
|
||||
"npm run format"
|
||||
]
|
||||
"README*.md": "npm run toc",
|
||||
"**/*": "prettier --write --ignore-unknown"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
Reference in New Issue
Block a user