This commit is contained in:
2026-04-24 20:30:52 +08:00
commit 704bc34625
152 changed files with 45612 additions and 0 deletions

83
package.json Normal file
View File

@@ -0,0 +1,83 @@
{
"name": "risk-guard",
"version": "1.0.0",
"private": true,
"description": "",
"repository": "",
"scripts": {
"analyze": "cross-env ANALYZE=1 max build",
"build": "max build",
"dev": "npm run start",
"dev:mock": "npm run start:mock",
"postinstall": "max setup",
"lint": "npm run biome:lint && npm run tsc",
"biome:lint": "npx @biomejs/biome lint",
"preview": "max preview --port 3100",
"start": "cross-env UMI_ENV=dev MOCK=none max dev",
"start:mock": "cross-env UMI_ENV=dev max dev",
"tsc": "tsc --noEmit",
"dpl": "node deploy.js",
"rollback": "node deploy.js --rollback"
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Edge versions",
"Firefox ESR",
"last 3 Firefox versions",
"Safari >= 12",
"iOS >= 12",
"not ie <= 11",
"> 0.5%",
"not dead"
],
"dependencies": {
"@ant-design/icons": "^5.6.1",
"@ant-design/plots": "^2.6.8",
"@ant-design/pro-components": "^2.7.19",
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"@fingerprintjs/fingerprintjs": "^5.0.1",
"@microsoft/fetch-event-source": "^2.0.1",
"@sentry/react": "^10.42.0",
"antd": "^5.25.4",
"antd-style": "^3.7.0",
"classnames": "^2.5.1",
"dayjs": "^1.11.13",
"localforage": "^1.10.0",
"mitt": "^3.0.1",
"query-string": "^9.3.1",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@ant-design/pro-cli": "^3.3.0",
"@biomejs/biome": "^2.0.6",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/express": "^5.0.3",
"@types/node": "^24.0.10",
"@types/react": "^19.1.5",
"@types/react-dom": "^19.1.5",
"@types/react-helmet": "^6.1.11",
"@umijs/max": "^4.3.24",
"cross-env": "^7.0.3",
"express": "^4.21.1",
"mockjs": "^1.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"umi-presets-pro": "^2.0.3",
"umi-serve": "^1.9.11"
},
"engines": {
"node": ">=20.0.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,md,css,less,json}": [
"pnpm exec biome check --write"
]
}
}