1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-10-29 11:27:00 +08:00
Files
408CSFamily/package.json
chufan 7f9436b5b8 chore: 更新构建脚本并移除思维导图相关依赖
站点源目录改为项目根,同步调整 dev/build 命令与 eslint、gitignore 配置。
2026-09-21 17:16:19 +08:00

47 lines
1.6 KiB
JSON

{
"name": "408CSFamily",
"type": "module",
"version": "0.0.1-alpha.20",
"packageManager": "pnpm@9.6.0",
"description": "研究生考试408考点、工作面试计算机基础知识合集",
"authorInfo": {
"name": "微信公众号:储凡",
"email": "fairy_408@2925.com",
"url": "https://github.com/142vip",
"homePage": "https://408.142vip.cn"
},
"license": "MIT",
"engines": {
"node": ">=18.x",
"pnpm": "9.6.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm && chmod +x ./scripts/*",
"postinstall": "rm -rf .git/hooks && npx simple-git-hooks",
"clean": "npx fa clean --ignore-tips --dist --vite --deps --all",
"clean:hooks": "npx fa clean --git-hooks --all --ignore-tips",
"lint": "npx fa lint",
"lint:fix": "npx fa lint --fix",
"dev": "npx vuepress dev",
"build": "npx vuepress build --clean-temp --clean-cache",
"build:proxy": "NEED_PROXY=true npx vuepress build --clean-temp --clean-cache",
"release": "npx fa release --vip --check-branch next --check-branch main",
"check:commit": "npx node --loader ts-node/esm --no-warnings scripts/core/verify-commit.ts"
},
"devDependencies": {
"@142vip/commit-linter": "0.0.1-alpha.2",
"@142vip/eslint-config": "0.0.1-alpha.6",
"@142vip/fairy-cli": "0.0.3-alpha.33",
"@142vip/open-source": "0.0.1-alpha.4",
"@142vip/utils": "0.0.1-alpha.58",
"@142vip/vuepress": "0.0.1-alpha.24",
"only-allow": "1.2.1",
"simple-git-hooks": "2.13.0",
"ts-node": "10.9.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint:fix",
"commit-msg": "pnpm check:commit"
}
}