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.

160 lines
4.2 KiB

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