package.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "name": "area-front",
  3. "version": "0.1.0",
  4. "private": true,
  5. "proxy": "http://47.108.135.38:50002",
  6. "dependencies": {
  7. "@ant-design/icons": "^4.6.3",
  8. "@ant-design/pro-descriptions": "^1.9.6",
  9. "@ant-design/pro-form": "^1.35.0",
  10. "@ant-design/pro-layout": "^6.24.1",
  11. "@ant-design/pro-table": "^2.49.0",
  12. "@babel/core": "7.12.3",
  13. "@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
  14. "@svgr/webpack": "5.5.0",
  15. "@testing-library/jest-dom": "^5.11.4",
  16. "@testing-library/react": "^11.1.0",
  17. "@testing-library/user-event": "^12.1.10",
  18. "@types/jest": "^26.0.15",
  19. "@types/node": "^12.0.0",
  20. "@types/react": "^17.0.0",
  21. "@types/react-dom": "^17.0.0",
  22. "@types/react-router-dom": "^5.1.8",
  23. "@typescript-eslint/eslint-plugin": "^4.5.0",
  24. "@typescript-eslint/parser": "^4.5.0",
  25. "antd": "^4.16.12",
  26. "axios": "^0.21.1",
  27. "babel-eslint": "^10.1.0",
  28. "babel-jest": "^26.6.0",
  29. "babel-loader": "8.1.0",
  30. "babel-plugin-named-asset-import": "^0.3.7",
  31. "babel-preset-react-app": "^10.0.0",
  32. "bfj": "^7.0.2",
  33. "camelcase": "^6.1.0",
  34. "case-sensitive-paths-webpack-plugin": "2.3.0",
  35. "css-loader": "4.3.0",
  36. "dotenv": "8.2.0",
  37. "dotenv-expand": "5.1.0",
  38. "eslint": "^7.11.0",
  39. "eslint-config-react-app": "^6.0.0",
  40. "eslint-plugin-flowtype": "^5.2.0",
  41. "eslint-plugin-import": "^2.22.1",
  42. "eslint-plugin-jest": "^24.1.0",
  43. "eslint-plugin-jsx-a11y": "^6.3.1",
  44. "eslint-plugin-react": "^7.21.5",
  45. "eslint-plugin-react-hooks": "^4.2.0",
  46. "eslint-plugin-testing-library": "^3.9.2",
  47. "eslint-webpack-plugin": "^2.5.2",
  48. "file-loader": "6.1.1",
  49. "fs-extra": "^9.0.1",
  50. "html-webpack-plugin": "4.5.0",
  51. "identity-obj-proxy": "3.0.0",
  52. "jest": "26.6.0",
  53. "jest-circus": "26.6.0",
  54. "jest-resolve": "26.6.0",
  55. "jest-watch-typeahead": "0.6.1",
  56. "mini-css-extract-plugin": "0.11.3",
  57. "optimize-css-assets-webpack-plugin": "5.0.4",
  58. "pnp-webpack-plugin": "1.6.4",
  59. "postcss-flexbugs-fixes": "4.2.1",
  60. "postcss-loader": "3.0.0",
  61. "postcss-normalize": "8.0.1",
  62. "postcss-preset-env": "6.7.0",
  63. "postcss-safe-parser": "5.0.2",
  64. "prompts": "2.4.0",
  65. "react": "^17.0.2",
  66. "react-app-polyfill": "^2.0.0",
  67. "react-dev-utils": "^11.0.3",
  68. "react-dom": "^17.0.2",
  69. "react-refresh": "^0.8.3",
  70. "react-router": "^5.2.0",
  71. "react-router-dom": "^5.2.0",
  72. "resolve": "1.18.1",
  73. "resolve-url-loader": "^3.1.2",
  74. "sass": "^1.38.1",
  75. "sass-loader": "^10.0.5",
  76. "semver": "7.3.2",
  77. "sha256": "^0.2.0",
  78. "style-loader": "1.3.0",
  79. "terser-webpack-plugin": "4.2.3",
  80. "ts-pnp": "1.2.0",
  81. "typescript": "^4.1.2",
  82. "url-loader": "4.1.1",
  83. "web-vitals": "^1.0.1",
  84. "webpack": "4.44.2",
  85. "webpack-dev-server": "3.11.1",
  86. "webpack-manifest-plugin": "2.2.0",
  87. "workbox-webpack-plugin": "5.1.4"
  88. },
  89. "scripts": {
  90. "start": "node scripts/start.js",
  91. "build": "node scripts/build.js",
  92. "test": "node scripts/test.js"
  93. },
  94. "eslintConfig": {
  95. "extends": [
  96. "react-app",
  97. "react-app/jest"
  98. ]
  99. },
  100. "browserslist": {
  101. "production": [
  102. ">0.2%",
  103. "not dead",
  104. "not op_mini all"
  105. ],
  106. "development": [
  107. "last 1 chrome version",
  108. "last 1 firefox version",
  109. "last 1 safari version"
  110. ]
  111. },
  112. "jest": {
  113. "roots": [
  114. "<rootDir>/src"
  115. ],
  116. "collectCoverageFrom": [
  117. "src/**/*.{js,jsx,ts,tsx}",
  118. "!src/**/*.d.ts"
  119. ],
  120. "setupFiles": [
  121. "react-app-polyfill/jsdom"
  122. ],
  123. "setupFilesAfterEnv": [
  124. "<rootDir>/src/setupTests.ts"
  125. ],
  126. "testMatch": [
  127. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  128. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  129. ],
  130. "testEnvironment": "jsdom",
  131. "testRunner": "/Users/void/sjzn/area-front/node_modules/jest-circus/runner.js",
  132. "transform": {
  133. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  134. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  135. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  136. },
  137. "transformIgnorePatterns": [
  138. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  139. "^.+\\.module\\.(css|sass|scss)$"
  140. ],
  141. "modulePaths": [],
  142. "moduleNameMapper": {
  143. "^react-native$": "react-native-web",
  144. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  145. },
  146. "moduleFileExtensions": [
  147. "web.js",
  148. "js",
  149. "web.ts",
  150. "ts",
  151. "web.tsx",
  152. "tsx",
  153. "json",
  154. "web.jsx",
  155. "jsx",
  156. "node"
  157. ],
  158. "watchPlugins": [
  159. "jest-watch-typeahead/filename",
  160. "jest-watch-typeahead/testname"
  161. ],
  162. "resetMocks": true
  163. },
  164. "babel": {
  165. "presets": [
  166. "react-app"
  167. ]
  168. }
  169. }