package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. {
  2. "name": "area-front",
  3. "version": "0.1.0",
  4. "private": true,
  5. "proxy": "http://47.108.135.38:50003",
  6. "homepage": "/",
  7. "dependencies": {
  8. "@ant-design/icons": "^4.6.3",
  9. "@ant-design/pro-components": "^2.3.25",
  10. "@ant-design/pro-descriptions": "^1.9.6",
  11. "@ant-design/pro-form": "^1.65.0",
  12. "@ant-design/pro-layout": "^6.24.1",
  13. "@ant-design/pro-table": "^2.49.0",
  14. "@antv/g2plot": "^2.3.40",
  15. "@babel/core": "7.12.3",
  16. "@babel/plugin-syntax-jsx": "^7.18.6",
  17. "@craco/craco": "^6.4.2",
  18. "@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
  19. "@svgr/webpack": "5.5.0",
  20. "@testing-library/jest-dom": "^5.11.4",
  21. "@testing-library/react": "^11.1.0",
  22. "@testing-library/user-event": "^12.1.10",
  23. "@types/jest": "^26.0.15",
  24. "@types/node": "^12.0.0",
  25. "@types/react": "^17.0.0",
  26. "@types/react-dom": "^17.0.0",
  27. "@types/react-router-dom": "^5.1.8",
  28. "@typescript-eslint/eslint-plugin": "^4.5.0",
  29. "@typescript-eslint/parser": "^4.5.0",
  30. "antd": "^4.24.1",
  31. "antd-img-crop": "^4.5.2",
  32. "axios": "^0.21.1",
  33. "babel-eslint": "^10.1.0",
  34. "babel-jest": "^26.6.0",
  35. "babel-loader": "8.1.0",
  36. "babel-plugin-import": "^1.13.5",
  37. "babel-plugin-named-asset-import": "^0.3.7",
  38. "babel-preset-react-app": "^10.0.0",
  39. "bfj": "^7.0.2",
  40. "camelcase": "^6.1.0",
  41. "case-sensitive-paths-webpack-plugin": "2.3.0",
  42. "craco": "^0.0.3",
  43. "craco-less": "^2.0.0",
  44. "css-loader": "4.3.0",
  45. "customize-cra": "^1.0.0",
  46. "dompurify": "^2.3.8",
  47. "dotenv": "8.2.0",
  48. "dotenv-expand": "5.1.0",
  49. "draft-js": "^0.11.7",
  50. "draftjs-to-html": "^0.9.1",
  51. "eslint": "^7.11.0",
  52. "eslint-config-react-app": "^6.0.0",
  53. "eslint-plugin-flowtype": "^5.2.0",
  54. "eslint-plugin-import": "^2.22.1",
  55. "eslint-plugin-jest": "^24.1.0",
  56. "eslint-plugin-jsx-a11y": "^6.3.1",
  57. "eslint-plugin-react": "^7.21.5",
  58. "eslint-plugin-react-hooks": "^4.2.0",
  59. "eslint-plugin-testing-library": "^3.9.2",
  60. "eslint-webpack-plugin": "^2.5.2",
  61. "file-loader": "6.1.1",
  62. "fs-extra": "^9.0.1",
  63. "html-webpack-plugin": "4.5.0",
  64. "identity-obj-proxy": "3.0.0",
  65. "jest": "26.6.0",
  66. "jest-circus": "26.6.0",
  67. "jest-resolve": "26.6.0",
  68. "jest-watch-typeahead": "0.6.1",
  69. "less": "^4.1.3",
  70. "less-loader": "^10.2.0",
  71. "mini-css-extract-plugin": "0.11.3",
  72. "open-im-sdk": "^2.3.0-beta.2",
  73. "optimize-css-assets-webpack-plugin": "5.0.4",
  74. "pnp-webpack-plugin": "1.6.4",
  75. "postcss-flexbugs-fixes": "4.2.1",
  76. "postcss-loader": "3.0.0",
  77. "postcss-normalize": "8.0.1",
  78. "postcss-preset-env": "6.7.0",
  79. "postcss-safe-parser": "5.0.2",
  80. "pro-components": "^0.0.2",
  81. "prompts": "2.4.0",
  82. "query-string": "^7.0.1",
  83. "react": "^17.0.2",
  84. "react-amap": "^1.2.8",
  85. "react-app-polyfill": "^2.0.0",
  86. "react-app-rewired": "^2.2.1",
  87. "react-dev-utils": "^11.0.3",
  88. "react-dom": "^17.0.2",
  89. "react-draft-wysiwyg": "^1.14.7",
  90. "react-emotor": "^1.2.0",
  91. "react-native": "^0.68.1",
  92. "react-redux": "^8.0.1",
  93. "react-refresh": "^0.8.3",
  94. "react-router": "^5.2.0",
  95. "react-router-dom": "^5.2.0",
  96. "react-scripts": "^4.0.3",
  97. "react-to-print": "^2.14.7",
  98. "redux": "^4.1.2",
  99. "redux-persist": "^6.0.0",
  100. "redux-promise": "^0.6.0",
  101. "redux-thunk": "^2.4.1",
  102. "resolve": "1.18.1",
  103. "resolve-url-loader": "^3.1.2",
  104. "sass": "^1.38.1",
  105. "sass-loader": "^10.0.5",
  106. "semver": "7.3.2",
  107. "sha256": "^0.2.0",
  108. "style-loader": "1.3.0",
  109. "terser-webpack-plugin": "4.2.3",
  110. "ts-pnp": "1.2.0",
  111. "typescript": "^4.1.2",
  112. "url-loader": "4.1.1",
  113. "web-vitals": "^1.0.1",
  114. "webpack": "^4.44.2",
  115. "webpack-dev-server": "3.11.1",
  116. "webpack-manifest-plugin": "2.2.0",
  117. "workbox-webpack-plugin": "5.1.4"
  118. },
  119. "scripts": {
  120. "start": "craco start",
  121. "build": "craco build",
  122. "dev": "webpack-dev-server --inline --devtool eval --progress --colors --hot --content-base ./build --history-api-fallback",
  123. "test": "node scripts/test.js",
  124. "start2": "craco start",
  125. "build2": "craco build",
  126. "test2": "craco test"
  127. },
  128. "eslintConfig": {
  129. "extends": [
  130. "react-app",
  131. "react-app/jest"
  132. ]
  133. },
  134. "browserslist": {
  135. "production": [
  136. ">0.2%",
  137. "not dead",
  138. "not op_mini all"
  139. ],
  140. "development": [
  141. "last 1 chrome version",
  142. "last 1 firefox version",
  143. "last 1 safari version"
  144. ]
  145. },
  146. "jest": {
  147. "roots": [
  148. "<rootDir>/src"
  149. ],
  150. "collectCoverageFrom": [
  151. "src/**/*.{js,jsx,ts,tsx}",
  152. "!src/**/*.d.ts"
  153. ],
  154. "setupFiles": [
  155. "react-app-polyfill/jsdom"
  156. ],
  157. "setupFilesAfterEnv": [
  158. "<rootDir>/src/setupTests.ts"
  159. ],
  160. "testMatch": [
  161. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  162. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  163. ],
  164. "testEnvironment": "jsdom",
  165. "testRunner": "/Users/void/sjzn/area-front/node_modules/jest-circus/runner.js",
  166. "transform": {
  167. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  168. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  169. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  170. },
  171. "transformIgnorePatterns": [
  172. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  173. "^.+\\.module\\.(css|sass|scss)$"
  174. ],
  175. "modulePaths": [],
  176. "moduleNameMapper": {
  177. "^react-native$": "react-native-web",
  178. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  179. },
  180. "moduleFileExtensions": [
  181. "web.js",
  182. "js",
  183. "web.ts",
  184. "ts",
  185. "web.tsx",
  186. "tsx",
  187. "json",
  188. "web.jsx",
  189. "jsx",
  190. "node"
  191. ],
  192. "watchPlugins": [
  193. "jest-watch-typeahead/filename",
  194. "jest-watch-typeahead/testname"
  195. ],
  196. "resetMocks": true
  197. },
  198. "babel": {
  199. "presets": [
  200. "react-app"
  201. ]
  202. },
  203. "devDependencies": {
  204. "autoprefixer": "^9.8.8",
  205. "cz-conventional-changelog": "^3.3.0",
  206. "postcss": "^7.0.39",
  207. "tailwindcss": "npm:@tailwindcss/postcss7-compat",
  208. "webpack-cli": "^4.9.2"
  209. },
  210. "config": {
  211. "commitizen": {
  212. "path": "./node_modules/cz-conventional-changelog"
  213. }
  214. }
  215. }