79 lines
2.1 KiB
JSON
79 lines
2.1 KiB
JSON
{
|
|
"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",
|
|
"lint-staged": "lint-staged",
|
|
"biome:lint": "npx @biomejs/biome lint",
|
|
"prepare": "husky",
|
|
"preview": "max preview --port 8000",
|
|
"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"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"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",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.1.2",
|
|
"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"
|
|
]
|
|
}
|
|
}
|