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