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.

164 lines
4.4 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
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. "deploy:dev": "npm run build && scp -r ./build/* testDev:/home/ceshi/pzy/nft9527"
  82. },
  83. "eslintConfig": {
  84. "extends": [
  85. "react-app",
  86. "react-app/jest"
  87. ]
  88. },
  89. "browserslist": {
  90. "production": [
  91. ">0.2%",
  92. "not dead",
  93. "not op_mini all"
  94. ],
  95. "development": [
  96. "last 1 chrome version",
  97. "last 1 firefox version",
  98. "last 1 safari version"
  99. ]
  100. },
  101. "devDependencies": {
  102. "@types/lodash": "^4.14.202",
  103. "@types/qrcode": "^1.5.5",
  104. "postcss-px-to-viewport": "^1.1.1",
  105. "sass": "^1.69.5",
  106. "sass-resources-loader": "^2.2.5"
  107. },
  108. "jest": {
  109. "roots": [
  110. "<rootDir>/src"
  111. ],
  112. "collectCoverageFrom": [
  113. "src/**/*.{js,jsx,ts,tsx}",
  114. "!src/**/*.d.ts"
  115. ],
  116. "setupFiles": [
  117. "react-app-polyfill/jsdom"
  118. ],
  119. "setupFilesAfterEnv": [
  120. "<rootDir>/src/setupTests.ts"
  121. ],
  122. "testMatch": [
  123. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  124. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  125. ],
  126. "testEnvironment": "jsdom",
  127. "transform": {
  128. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  129. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  130. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  131. },
  132. "transformIgnorePatterns": [
  133. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  134. "^.+\\.module\\.(css|sass|scss)$"
  135. ],
  136. "modulePaths": [],
  137. "moduleNameMapper": {
  138. "^react-native$": "react-native-web",
  139. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  140. },
  141. "moduleFileExtensions": [
  142. "web.js",
  143. "js",
  144. "web.ts",
  145. "ts",
  146. "web.tsx",
  147. "tsx",
  148. "json",
  149. "web.jsx",
  150. "jsx",
  151. "node"
  152. ],
  153. "watchPlugins": [
  154. "jest-watch-typeahead/filename",
  155. "jest-watch-typeahead/testname"
  156. ],
  157. "resetMocks": true
  158. },
  159. "babel": {
  160. "presets": [
  161. "react-app"
  162. ]
  163. }
  164. }