57 rader
1.6 KiB
JSON
57 rader
1.6 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"server": "nodemon --watch websocket/**/*.ts --exec ts-node websocket/server.ts",
|
|
"start": "umi dev",
|
|
"build": "umi build",
|
|
"postinstall": "umi generate tmp",
|
|
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
|
"test": "umi-test",
|
|
"test:coverage": "umi-test --coverage"
|
|
},
|
|
"gitHooks": {
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,less,md,json}": [
|
|
"prettier --write"
|
|
],
|
|
"*.ts?(x)": [
|
|
"prettier --parser=typescript --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^4.7.0",
|
|
"@jiaminghi/data-view-react": "^1.2.5",
|
|
"antd": "^4.20.6",
|
|
"echarts": "^5.3.2",
|
|
"echarts-for-react": "^3.0.2",
|
|
"framer-motion": "^6.3.3",
|
|
"less": "^4.1.3",
|
|
"less-loader": "^11.0.0",
|
|
"moment": "^2.29.4",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6",
|
|
"react-router-dom": "^6.3.0",
|
|
"style-components": "^0.1.0",
|
|
"styled-components": "^5.3.5",
|
|
"umi": "^3.5.23"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.6.0",
|
|
"@types/ws": "^8.5.5",
|
|
"nodemon": "^3.0.1",
|
|
"ws": "^8.14.1",
|
|
"ts-node": "^10.9.1",
|
|
"@babel/runtime": "^7.18.0",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@umijs/preset-react": "1.x",
|
|
"@umijs/test": "^3.5.23",
|
|
"lint-staged": "^10.0.7",
|
|
"prettier": "^2.2.0",
|
|
"typescript": "^5.2.2",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
}
|