mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
31 lines
926 B
JSON
31 lines
926 B
JSON
{
|
|
"name": "fastgpt",
|
|
"version": "4.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"format-code": "prettier --config \"./.prettierrc.js\" --write \"./**/src/**/*.{ts,tsx,scss}\"",
|
|
"format-doc": "zhlint --dir ./docSite *.md --fix",
|
|
"gen:theme-typings": "chakra-cli tokens projects/app/src/web/styles/theme.ts --out node_modules/.pnpm/node_modules/@chakra-ui/styled-system/dist/theming.types.d.ts",
|
|
"postinstall": "sh ./scripts/postinstall.sh"
|
|
},
|
|
"devDependencies": {
|
|
"@chakra-ui/cli": "^2.4.1",
|
|
"husky": "^8.0.3",
|
|
"i18next": "^22.5.1",
|
|
"lint-staged": "^13.2.1",
|
|
"next-i18next": "^13.3.0",
|
|
"prettier": "^3.0.3",
|
|
"react-i18next": "^12.3.1",
|
|
"zhlint": "^0.7.1"
|
|
},
|
|
"lint-staged": {
|
|
"./**/**/*.{ts,tsx,scss}": "npm run format-code",
|
|
"./**/**/*.md": "npm run format-doc"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"pnpm": ">=8.6.0"
|
|
}
|
|
}
|