2 Star 30 Fork 6

zsasjy/sloth-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.00 KB
一键复制 编辑 原始数据 按行查看 历史
zsasjy 提交于 2024-06-04 08:15 . feat: components支持watch
{
"name": "sloth-admin",
"private": true,
"version": "0.0.1",
"author": {
"name": "zsasjy",
"email": "zsasjy@163.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://gitee.com/zsasjy/sloth-admin"
},
"bugs": {
"url": "https://gitee.com/zsasjy/sloth-admin/issues"
},
"engines": {
"node": ">=18.0.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"type": "module",
"scripts": {
"start": "concurrently \"pnpm --filter @sloth/components run watch\" \"pnpm --filter @sloth/admin-web run start\"",
"build": "npm run build:components && npm run build:web",
"build:web": "pnpm --filter @sloth/admin-web run build",
"build:components": "pnpm --filter @sloth/components run build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"preview": "vite preview",
"prepare": "husky install",
"prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\"",
"commitlint": "commitlint --config commitlint.config.cjs -e -V"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"autoprefixer": "^10.4.16",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.1"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write ."
]
},
"pnpm": {
"overrides": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/zsasjy/sloth-admin.git
git@gitee.com:zsasjy/sloth-admin.git
zsasjy
sloth-admin
sloth-admin
master

搜索帮助