package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "name": "tuonq-admin",
  3. "version": "0.0.1",
  4. "homepage": ".",
  5. "dependencies": {
  6. "@babel/core": "7.1.0",
  7. "@material-ui/core": "^4.3.3",
  8. "@svgr/webpack": "2.4.1",
  9. "antd": "^3.10.0",
  10. "antd-theme-generator": "^1.1.3",
  11. "axios": "^0.18.0",
  12. "babel-core": "7.0.0-bridge.0",
  13. "babel-eslint": "9.0.0",
  14. "babel-jest": "23.6.0",
  15. "babel-loader": "8.0.4",
  16. "babel-plugin-import": "^1.9.1",
  17. "babel-plugin-named-asset-import": "^0.2.2",
  18. "babel-preset-react-app": "^5.0.3",
  19. "bfj": "6.1.1",
  20. "case-sensitive-paths-webpack-plugin": "2.1.2",
  21. "chalk": "2.4.1",
  22. "classnames": "^2.2.6",
  23. "css-loader": "1.0.0",
  24. "dotenv": "6.0.0",
  25. "dotenv-expand": "4.2.0",
  26. "draftjs-to-html": "^0.8.4",
  27. "draftjs-to-markdown": "^0.5.1",
  28. "echarts": "^4.2.0-rc.1",
  29. "echarts-for-react": "^2.0.15-beta.0",
  30. "eslint": "5.6.0",
  31. "eslint-config-react-app": "^3.0.3",
  32. "eslint-loader": "2.1.1",
  33. "eslint-plugin-flowtype": "2.50.1",
  34. "eslint-plugin-import": "2.14.0",
  35. "eslint-plugin-jsx-a11y": "6.1.1",
  36. "eslint-plugin-react": "7.11.1",
  37. "file-loader": "2.0.0",
  38. "fs-extra": "7.0.0",
  39. "html-webpack-plugin": "4.0.0-alpha.2",
  40. "identity-obj-proxy": "3.0.0",
  41. "jest": "23.6.0",
  42. "jest-pnp-resolver": "1.0.1",
  43. "jest-resolve": "23.6.0",
  44. "less": "2.7.2",
  45. "less-loader": "^4.1.0",
  46. "mini-css-extract-plugin": "0.4.3",
  47. "nprogress": "^0.2.0",
  48. "optimize-css-assets-webpack-plugin": "5.0.1",
  49. "photoswipe": "^4.1.2",
  50. "pnp-webpack-plugin": "1.1.0",
  51. "postcss-flexbugs-fixes": "4.1.0",
  52. "postcss-loader": "3.0.0",
  53. "postcss-preset-env": "6.0.6",
  54. "postcss-safe-parser": "4.0.1",
  55. "prop-types": "latest",
  56. "query-string": "5",
  57. "rc-banner-anim": "^2.0.8",
  58. "react": "^16.8.6",
  59. "react-app-polyfill": "^0.1.3",
  60. "react-beautiful-dnd": "^11.0.3",
  61. "react-color": "^2.14.1",
  62. "react-dev-utils": "^6.0.4",
  63. "react-document-title": "^2.0.3",
  64. "react-dom": "^16.8.6",
  65. "react-draft-wysiwyg": "^1.12.13",
  66. "react-draggable": "^3.0.5",
  67. "react-hot-loader": "^4.3.11",
  68. "react-infinite-scroller": "^1.2.4",
  69. "react-loadable": "^5.5.0",
  70. "react-qmap": "^0.1.6",
  71. "react-redux": "^5.0.7",
  72. "react-router-dom": "^4.3.1",
  73. "react-virtualized": "^9.21.1",
  74. "recharts": "^1.3.3",
  75. "redux": "^4.0.0",
  76. "redux-alita": "^2.1.0",
  77. "redux-thunk": "^2.3.0",
  78. "resolve": "1.8.1",
  79. "sass-loader": "7.1.0",
  80. "screenfull": "^3.3.3",
  81. "style-loader": "0.23.0",
  82. "terser-webpack-plugin": "1.1.0",
  83. "url-loader": "1.1.1",
  84. "webpack": "4.19.1",
  85. "webpack-dev-server": ">=3.1.11",
  86. "webpack-manifest-plugin": "2.0.4",
  87. "workbox-webpack-plugin": "3.6.2",
  88. "qs": "latest"
  89. },
  90. "scripts": {
  91. "start": "node scripts/start.js",
  92. "build": "node scripts/build.js",
  93. "test": "node scripts/test.js",
  94. "theme": "node theme.js",
  95. "prettier": "prettier -c --write \"src/**/*.{js,ts,html,css}\""
  96. },
  97. "eslintConfig": {
  98. "extends": "react-app"
  99. },
  100. "browserslist": [
  101. ">0.2%",
  102. "not dead",
  103. "not ie <= 11",
  104. "not op_mini all"
  105. ],
  106. "jest": {
  107. "collectCoverageFrom": [
  108. "src/**/*.{js,jsx}"
  109. ],
  110. "resolver": "jest-pnp-resolver",
  111. "setupFiles": [
  112. "react-app-polyfill/jsdom"
  113. ],
  114. "testMatch": [
  115. "<rootDir>/src/**/__tests__/**/*.{js,jsx}",
  116. "<rootDir>/src/**/?(*.)(spec|test).{js,jsx}"
  117. ],
  118. "testEnvironment": "jsdom",
  119. "testURL": "http://localhost",
  120. "transform": {
  121. "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
  122. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  123. "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  124. },
  125. "transformIgnorePatterns": [
  126. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$",
  127. "^.+\\.module\\.(css|sass|scss)$"
  128. ],
  129. "moduleNameMapper": {
  130. "^react-native$": "react-native-web",
  131. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  132. },
  133. "moduleFileExtensions": [
  134. "web.js",
  135. "js",
  136. "json",
  137. "web.jsx",
  138. "jsx",
  139. "node"
  140. ]
  141. },
  142. "babel": {
  143. "presets": [
  144. "react-app"
  145. ]
  146. },
  147. "devDependencies": {
  148. "eslint-plugin-react-hooks": "^1.6.0"
  149. },
  150. "description": "项目的管理后台"
  151. }