forked from Open-CT/openbrain
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@ant-design/icons": "4.6.2",
|
|
"@craco/craco": "6.1.1",
|
|
"aliplayer-react": "^0.7.0",
|
|
"antd": "4.15.5",
|
|
"casdoor-js-sdk": "^0.2.7",
|
|
"copy-to-clipboard": "^3.3.1",
|
|
"craco-less": "1.17.1",
|
|
"d3-force": "^3.0.0",
|
|
"file-saver": "^2.0.2",
|
|
"i18next": "^19.8.9",
|
|
"moment": "^2.29.1",
|
|
"rc-bullets": "^1.5.16",
|
|
"react": "17.0.2",
|
|
"react-device-detect": "1.17.0",
|
|
"react-dom": "17.0.2",
|
|
"react-force-graph-2d": "^1.23.8",
|
|
"react-force-graph-3d": "^1.21.10",
|
|
"react-i18next": "^11.8.7",
|
|
"react-router-dom": "5.1.2",
|
|
"react-scripts": "4.0.3",
|
|
"xlsx": "^0.16.9"
|
|
},
|
|
"scripts": {
|
|
"start": "set PORT=13001 && craco start",
|
|
"build": "del build.zip 2>nul && set \"GENERATE_SOURCEMAP=false\" && set \"SKIP_PREFLIGHT_CHECK=true\" && craco build && 360zip.exe -ar build %cd%/build.zip || ECHO.",
|
|
"test": "craco test",
|
|
"eject": "craco eject",
|
|
"analyze": "source-map-explorer 'build/static/js/*.js'"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all",
|
|
"ie 9, ie 10, ie 11"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version",
|
|
"ie 9, ie 10, ie 11"
|
|
]
|
|
}
|
|
}
|