|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- {
- "name": "web",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "@ant-design/cssinjs": "^1.12.0",
- "@ant-design/icons": "4.6.2",
- "@chatscope/chat-ui-kit-react": "^1.10.1",
- "@chatscope/chat-ui-kit-styles": "^1.4.0",
- "@craco/craco": "6.4.5",
- "@cyntler/react-doc-viewer": "^1.5.2",
- "aliplayer-react": "^0.7.0",
- "antd": "5.2.3",
- "casdoor-js-sdk": "^0.2.7",
- "codemirror": "^5.61.1",
- "copy-to-clipboard": "^3.3.1",
- "craco-less": "2.0.0",
- "d3-force": "^3.0.0",
- "echarts": "^5.4.2",
- "echarts-for-react": "^3.0.2",
- "eslint-plugin-unused-imports": "^2.0.0",
- "file-saver": "^2.0.2",
- "i18next": "^19.8.9",
- "markdown-it": "^13.0.1",
- "moment": "^2.29.1",
- "papaparse": "^5.4.1",
- "rc-bullets": "^1.5.16",
- "react": "^18.2.0",
- "react-codemirror2": "^7.2.1",
- "react-device-detect": "1.17.0",
- "react-dom": "^18.2.0",
- "react-file-viewer": "^1.2.1",
- "react-force-graph-2d": "^1.23.8",
- "react-force-graph-3d": "^1.21.10",
- "react-i18next": "^11.8.7",
- "react-markdown": "^8.0.7",
- "react-router-dom": "^5.3.3",
- "react-scripts": "5.0.1",
- "remark-frontmatter": "^4.0.1",
- "remark-gfm": "^3.0.1",
- "xlsx": "^0.16.9"
- },
- "scripts": {
- "start": "cross-env PORT=13001 craco start",
- "build": "craco build",
- "test": "craco test",
- "eject": "craco eject",
- "analyze": "source-map-explorer 'build/static/js/*.js'",
- "preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing: https://yarnpkg.com/en/docs/install')\"",
- "fix": "eslint --fix src/ --ext .js",
- "lint:js": "eslint --fix src/ --ext .js",
- "lint:css": "stylelint src/**/*.{css,less} --fix",
- "lint": "yarn lint:js && yarn lint:css"
- },
- "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"
- ]
- },
- "devDependencies": {
- "@babel/core": "^7.18.13",
- "@babel/eslint-parser": "^7.18.9",
- "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
- "@babel/preset-react": "^7.18.6",
- "cross-env": "^7.0.3",
- "eslint": "8.22.0",
- "eslint-plugin-react": "^7.31.1",
- "husky": "^4.3.8",
- "lint-staged": "^13.0.3",
- "stylelint": "^14.11.0",
- "stylelint-config-recommended-less": "^1.0.4",
- "stylelint-config-standard": "^28.0.0"
- },
- "lint-staged": {
- "src/**/*.{css,less}": [
- "stylelint --fix"
- ],
- "src/**/*.{js,jsx,ts,tsx}": [
- "eslint --fix"
- ]
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- }
- }
|