代码拉取完成,页面将自动刷新
{
"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"
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。