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.

163 lines
4.3 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months 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. "qrcode": "^1.5.3",
  54. "react": "^18.2.0",
  55. "react-app-polyfill": "^3.0.0",
  56. "react-dev-utils": "^12.0.1",
  57. "react-dom": "^18.2.0",
  58. "react-refresh": "^0.11.0",
  59. "react-router-dom": "^6.21.0",
  60. "react-vant": "^3.3.2",
  61. "resolve": "^1.20.0",
  62. "resolve-url-loader": "^4.0.0",
  63. "sass-loader": "^12.3.0",
  64. "semver": "^7.3.5",
  65. "source-map-loader": "^3.0.0",
  66. "style-loader": "^3.3.1",
  67. "tailwindcss": "^3.0.2",
  68. "terser-webpack-plugin": "^5.2.5",
  69. "typescript": "^4.9.5",
  70. "web-vitals": "^2.1.4",
  71. "webpack": "^5.64.4",
  72. "webpack-dev-server": "^4.6.0",
  73. "webpack-manifest-plugin": "^4.0.2",
  74. "workbox-webpack-plugin": "^6.4.1",
  75. "ws": "^8.16.0"
  76. },
  77. "scripts": {
  78. "start": "node scripts/start.js",
  79. "build": "node scripts/build.js",
  80. "test": "node scripts/test.js"
  81. },
  82. "eslintConfig": {
  83. "extends": [
  84. "react-app",
  85. "react-app/jest"
  86. ]
  87. },
  88. "browserslist": {
  89. "production": [
  90. ">0.2%",
  91. "not dead",
  92. "not op_mini all"
  93. ],
  94. "development": [
  95. "last 1 chrome version",
  96. "last 1 firefox version",
  97. "last 1 safari version"
  98. ]
  99. },
  100. "devDependencies": {
  101. "@types/lodash": "^4.14.202",
  102. "@types/qrcode": "^1.5.5",
  103. "postcss-px-to-viewport": "^1.1.1",
  104. "sass": "^1.69.5",
  105. "sass-resources-loader": "^2.2.5"
  106. },
  107. "jest": {
  108. "roots": [
  109. "<rootDir>/src"
  110. ],
  111. "collectCoverageFrom": [
  112. "src/**/*.{js,jsx,ts,tsx}",
  113. "!src/**/*.d.ts"
  114. ],
  115. "setupFiles": [
  116. "react-app-polyfill/jsdom"
  117. ],
  118. "setupFilesAfterEnv": [
  119. "<rootDir>/src/setupTests.ts"
  120. ],
  121. "testMatch": [
  122. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  123. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  124. ],
  125. "testEnvironment": "jsdom",
  126. "transform": {
  127. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  128. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  129. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  130. },
  131. "transformIgnorePatterns": [
  132. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  133. "^.+\\.module\\.(css|sass|scss)$"
  134. ],
  135. "modulePaths": [],
  136. "moduleNameMapper": {
  137. "^react-native$": "react-native-web",
  138. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  139. },
  140. "moduleFileExtensions": [
  141. "web.js",
  142. "js",
  143. "web.ts",
  144. "ts",
  145. "web.tsx",
  146. "tsx",
  147. "json",
  148. "web.jsx",
  149. "jsx",
  150. "node"
  151. ],
  152. "watchPlugins": [
  153. "jest-watch-typeahead/filename",
  154. "jest-watch-typeahead/testname"
  155. ],
  156. "resetMocks": true
  157. },
  158. "babel": {
  159. "presets": [
  160. "react-app"
  161. ]
  162. }
  163. }