You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.8 kB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "web",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "@ant-design/cssinjs": "^1.12.0",
  7. "@ant-design/icons": "4.6.2",
  8. "@chatscope/chat-ui-kit-react": "^1.10.1",
  9. "@chatscope/chat-ui-kit-styles": "^1.4.0",
  10. "@craco/craco": "6.4.5",
  11. "@cyntler/react-doc-viewer": "^1.5.2",
  12. "aliplayer-react": "^0.7.0",
  13. "antd": "5.2.3",
  14. "casdoor-js-sdk": "^0.2.7",
  15. "codemirror": "^5.61.1",
  16. "copy-to-clipboard": "^3.3.1",
  17. "craco-less": "2.0.0",
  18. "d3-force": "^3.0.0",
  19. "echarts": "^5.4.2",
  20. "echarts-for-react": "^3.0.2",
  21. "eslint-plugin-unused-imports": "^2.0.0",
  22. "file-saver": "^2.0.2",
  23. "i18next": "^19.8.9",
  24. "markdown-it": "^13.0.1",
  25. "moment": "^2.29.1",
  26. "papaparse": "^5.4.1",
  27. "rc-bullets": "^1.5.16",
  28. "react": "^18.2.0",
  29. "react-codemirror2": "^7.2.1",
  30. "react-device-detect": "1.17.0",
  31. "react-dom": "^18.2.0",
  32. "react-file-viewer": "^1.2.1",
  33. "react-force-graph-2d": "^1.23.8",
  34. "react-force-graph-3d": "^1.21.10",
  35. "react-i18next": "^11.8.7",
  36. "react-markdown": "^8.0.7",
  37. "react-router-dom": "^5.3.3",
  38. "react-scripts": "5.0.1",
  39. "remark-frontmatter": "^4.0.1",
  40. "remark-gfm": "^3.0.1",
  41. "xlsx": "^0.16.9"
  42. },
  43. "scripts": {
  44. "start": "cross-env PORT=13001 craco start",
  45. "build": "craco build",
  46. "test": "craco test",
  47. "eject": "craco eject",
  48. "analyze": "source-map-explorer 'build/static/js/*.js'",
  49. "preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing: https://yarnpkg.com/en/docs/install')\"",
  50. "fix": "eslint --fix src/ --ext .js",
  51. "lint:js": "eslint --fix src/ --ext .js",
  52. "lint:css": "stylelint src/**/*.{css,less} --fix",
  53. "lint": "yarn lint:js && yarn lint:css"
  54. },
  55. "eslintConfig": {
  56. "extends": "react-app"
  57. },
  58. "browserslist": {
  59. "production": [
  60. ">0.2%",
  61. "not dead",
  62. "not op_mini all",
  63. "ie 9, ie 10, ie 11"
  64. ],
  65. "development": [
  66. "last 1 chrome version",
  67. "last 1 firefox version",
  68. "last 1 safari version",
  69. "ie 9, ie 10, ie 11"
  70. ]
  71. },
  72. "devDependencies": {
  73. "@babel/core": "^7.18.13",
  74. "@babel/eslint-parser": "^7.18.9",
  75. "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
  76. "@babel/preset-react": "^7.18.6",
  77. "cross-env": "^7.0.3",
  78. "eslint": "8.22.0",
  79. "eslint-plugin-react": "^7.31.1",
  80. "husky": "^4.3.8",
  81. "lint-staged": "^13.0.3",
  82. "stylelint": "^14.11.0",
  83. "stylelint-config-recommended-less": "^1.0.4",
  84. "stylelint-config-standard": "^28.0.0"
  85. },
  86. "lint-staged": {
  87. "src/**/*.{css,less}": [
  88. "stylelint --fix"
  89. ],
  90. "src/**/*.{js,jsx,ts,tsx}": [
  91. "eslint --fix"
  92. ]
  93. },
  94. "husky": {
  95. "hooks": {
  96. "pre-commit": "lint-staged"
  97. }
  98. }
  99. }