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

155 lines
4.1 KiB

11 months ago
  1. {
  2. "name": "9527",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "@babel/core": "^7.16.0",
  7. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
  8. "@svgr/webpack": "^5.5.0",
  9. "@testing-library/jest-dom": "^5.17.0",
  10. "@testing-library/react": "^13.4.0",
  11. "@testing-library/user-event": "^13.5.0",
  12. "@types/jest": "^27.5.2",
  13. "@types/node": "^16.18.68",
  14. "@types/react": "^18.2.45",
  15. "@types/react-dom": "^18.2.18",
  16. "axios": "^1.6.2",
  17. "babel-jest": "^27.4.2",
  18. "babel-loader": "^8.2.3",
  19. "babel-plugin-named-asset-import": "^0.3.8",
  20. "babel-preset-react-app": "^10.0.1",
  21. "bfj": "^7.0.2",
  22. "browserslist": "^4.18.1",
  23. "camelcase": "^6.2.1",
  24. "case-sensitive-paths-webpack-plugin": "^2.4.0",
  25. "css-loader": "^6.5.1",
  26. "css-minimizer-webpack-plugin": "^3.2.0",
  27. "dotenv": "^10.0.0",
  28. "dotenv-expand": "^5.1.0",
  29. "eslint": "^8.3.0",
  30. "eslint-config-react-app": "^7.0.1",
  31. "eslint-webpack-plugin": "^3.1.1",
  32. "ethers": "^6.9.0",
  33. "file-loader": "^6.2.0",
  34. "fs-extra": "^10.0.0",
  35. "html-webpack-plugin": "^5.5.0",
  36. "identity-obj-proxy": "^3.0.0",
  37. "jest": "^27.4.3",
  38. "jest-resolve": "^27.4.2",
  39. "jest-watch-typeahead": "^1.0.0",
  40. "mini-css-extract-plugin": "^2.4.5",
  41. "mobx": "^6.12.0",
  42. "mobx-react": "^9.1.0",
  43. "postcss": "^8.4.4",
  44. "postcss-flexbugs-fixes": "^5.0.2",
  45. "postcss-loader": "^6.2.1",
  46. "postcss-normalize": "^10.0.1",
  47. "postcss-preset-env": "^7.0.1",
  48. "prompts": "^2.4.2",
  49. "react": "^18.2.0",
  50. "react-app-polyfill": "^3.0.0",
  51. "react-dev-utils": "^12.0.1",
  52. "react-dom": "^18.2.0",
  53. "react-refresh": "^0.11.0",
  54. "react-router-dom": "^6.21.0",
  55. "react-vant": "^3.3.2",
  56. "resolve": "^1.20.0",
  57. "resolve-url-loader": "^4.0.0",
  58. "sass-loader": "^12.3.0",
  59. "semver": "^7.3.5",
  60. "source-map-loader": "^3.0.0",
  61. "style-loader": "^3.3.1",
  62. "tailwindcss": "^3.0.2",
  63. "terser-webpack-plugin": "^5.2.5",
  64. "typescript": "^4.9.5",
  65. "web-vitals": "^2.1.4",
  66. "webpack": "^5.64.4",
  67. "webpack-dev-server": "^4.6.0",
  68. "webpack-manifest-plugin": "^4.0.2",
  69. "workbox-webpack-plugin": "^6.4.1"
  70. },
  71. "scripts": {
  72. "start": "node scripts/start.js",
  73. "build": "node scripts/build.js",
  74. "test": "node scripts/test.js"
  75. },
  76. "eslintConfig": {
  77. "extends": [
  78. "react-app",
  79. "react-app/jest"
  80. ]
  81. },
  82. "browserslist": {
  83. "production": [
  84. ">0.2%",
  85. "not dead",
  86. "not op_mini all"
  87. ],
  88. "development": [
  89. "last 1 chrome version",
  90. "last 1 firefox version",
  91. "last 1 safari version"
  92. ]
  93. },
  94. "devDependencies": {
  95. "postcss-px-to-viewport": "^1.1.1",
  96. "sass": "^1.69.5",
  97. "sass-resources-loader": "^2.2.5"
  98. },
  99. "jest": {
  100. "roots": [
  101. "<rootDir>/src"
  102. ],
  103. "collectCoverageFrom": [
  104. "src/**/*.{js,jsx,ts,tsx}",
  105. "!src/**/*.d.ts"
  106. ],
  107. "setupFiles": [
  108. "react-app-polyfill/jsdom"
  109. ],
  110. "setupFilesAfterEnv": [
  111. "<rootDir>/src/setupTests.ts"
  112. ],
  113. "testMatch": [
  114. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  115. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  116. ],
  117. "testEnvironment": "jsdom",
  118. "transform": {
  119. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  120. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  121. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  122. },
  123. "transformIgnorePatterns": [
  124. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  125. "^.+\\.module\\.(css|sass|scss)$"
  126. ],
  127. "modulePaths": [],
  128. "moduleNameMapper": {
  129. "^react-native$": "react-native-web",
  130. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  131. },
  132. "moduleFileExtensions": [
  133. "web.js",
  134. "js",
  135. "web.ts",
  136. "ts",
  137. "web.tsx",
  138. "tsx",
  139. "json",
  140. "web.jsx",
  141. "jsx",
  142. "node"
  143. ],
  144. "watchPlugins": [
  145. "jest-watch-typeahead/filename",
  146. "jest-watch-typeahead/testname"
  147. ],
  148. "resetMocks": true
  149. },
  150. "babel": {
  151. "presets": [
  152. "react-app"
  153. ]
  154. }
  155. }