mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-09 19:47:39 +08:00
chore: 移除未使用的依赖 && 调整 husky 配置
This commit is contained in:
@@ -1,4 +1 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
. "$(dirname -- "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
npx lint-staged
|
npx lint-staged
|
||||||
|
|||||||
71
package.json
71
package.json
@@ -1,69 +1,28 @@
|
|||||||
{
|
{
|
||||||
"name": "openisle",
|
"name": "openisle",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"private": true,
|
||||||
"description": "<p align=\"center\"> <img alt=\"OpenIsle\" src=\"https://openisle-1307107697.cos.ap-guangzhou.myqcloud.com/assert/image.png\" width=\"200\"> <br><br> 高效的开源社区前后端端平台 <br><br> <a href=\"LICENSE\"><img src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\"></a> </p>",
|
"description": "<p align=\"center\"> <img alt=\"OpenIsle\" src=\"https://openisle-1307107697.cos.ap-guangzhou.myqcloud.com/assert/image.png\" width=\"200\"> <br><br> 高效的开源社区前后端端平台 <br><br> <a href=\"LICENSE\"><img src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\"></a> </p>",
|
||||||
"main": "index.js",
|
"author": "nagisa77",
|
||||||
"dependencies": {
|
"license": "ISC",
|
||||||
"ansi-escapes": "^7.0.0",
|
"homepage": "https://www.open-isle.com",
|
||||||
"ansi-regex": "^6.1.0",
|
"repository": {
|
||||||
"ansi-styles": "^6.2.1",
|
"type": "git",
|
||||||
"braces": "^3.0.3",
|
"url": "git+https://github.com/nagisa77/OpenIsle.git"
|
||||||
"chalk": "^5.5.0",
|
},
|
||||||
"cli-cursor": "^5.0.0",
|
"bugs": {
|
||||||
"cli-truncate": "^4.0.0",
|
"url": "https://github.com/nagisa77/OpenIsle/issues"
|
||||||
"colorette": "^2.0.20",
|
},
|
||||||
"commander": "^14.0.0",
|
"keywords": [],
|
||||||
"debug": "^4.4.1",
|
"scripts": {
|
||||||
"emoji-regex": "^10.4.0",
|
"prepare": "husky"
|
||||||
"environment": "^1.1.0",
|
|
||||||
"eventemitter3": "^5.0.1",
|
|
||||||
"fill-range": "^7.1.1",
|
|
||||||
"get-east-asian-width": "^1.3.0",
|
|
||||||
"is-fullwidth-code-point": "^4.0.0",
|
|
||||||
"is-number": "^7.0.0",
|
|
||||||
"lilconfig": "^3.1.3",
|
|
||||||
"listr2": "^9.0.1",
|
|
||||||
"log-update": "^6.1.0",
|
|
||||||
"micromatch": "^4.0.8",
|
|
||||||
"mimic-function": "^5.0.1",
|
|
||||||
"ms": "^2.1.3",
|
|
||||||
"nano-spawn": "^1.0.2",
|
|
||||||
"onetime": "^7.0.0",
|
|
||||||
"picomatch": "^2.3.1",
|
|
||||||
"pidtree": "^0.6.0",
|
|
||||||
"restore-cursor": "^5.1.0",
|
|
||||||
"rfdc": "^1.4.1",
|
|
||||||
"signal-exit": "^4.1.0",
|
|
||||||
"slice-ansi": "^5.0.0",
|
|
||||||
"string-argv": "^0.3.2",
|
|
||||||
"string-width": "^7.2.0",
|
|
||||||
"strip-ansi": "^7.1.0",
|
|
||||||
"to-regex-range": "^5.0.1",
|
|
||||||
"wrap-ansi": "^9.0.0",
|
|
||||||
"yaml": "^2.8.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"lint-staged": "^16.1.5",
|
"lint-staged": "^16.1.5",
|
||||||
"prettier": "^3.6.2"
|
"prettier": "^3.6.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
|
||||||
"prepare": "husky"
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"frontend_nuxt/**/*": "prettier --write --cache --ignore-unknown"
|
"frontend_nuxt/**/*": "prettier --write --cache --ignore-unknown"
|
||||||
},
|
}
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/nagisa77/OpenIsle.git"
|
|
||||||
},
|
|
||||||
"keywords": [],
|
|
||||||
"author": "",
|
|
||||||
"license": "ISC",
|
|
||||||
"type": "commonjs",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/nagisa77/OpenIsle/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://github.com/nagisa77/OpenIsle#readme"
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user