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.

162 lines
4.3 KiB

5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
  1. {
  2. "name": "outline-mobile",
  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. "@reduxjs/toolkit": "^2.6.0",
  9. "@svgr/webpack": "^5.5.0",
  10. "@testing-library/dom": "^10.4.0",
  11. "@testing-library/jest-dom": "^6.6.3",
  12. "@testing-library/react": "^16.2.0",
  13. "@testing-library/user-event": "^13.5.0",
  14. "@types/jest": "^27.5.2",
  15. "@types/node": "^16.18.126",
  16. "@types/ramda": "^0.30.2",
  17. "@types/react": "^19.0.11",
  18. "@types/react-dom": "^19.0.4",
  19. "@types/rx": "^4.1.4",
  20. "antd-mobile": "^5.39.0",
  21. "babel-jest": "^27.4.2",
  22. "babel-loader": "^8.2.3",
  23. "babel-plugin-named-asset-import": "^0.3.8",
  24. "babel-preset-react-app": "^10.0.1",
  25. "bfj": "^7.0.2",
  26. "browserslist": "^4.18.1",
  27. "camelcase": "^6.2.1",
  28. "case-sensitive-paths-webpack-plugin": "^2.4.0",
  29. "css-loader": "^6.5.1",
  30. "css-minimizer-webpack-plugin": "^3.2.0",
  31. "dayjs": "^1.11.13",
  32. "dotenv": "^10.0.0",
  33. "dotenv-expand": "^5.1.0",
  34. "eslint": "^8.3.0",
  35. "eslint-config-react-app": "^7.0.1",
  36. "eslint-webpack-plugin": "^3.1.1",
  37. "file-loader": "^6.2.0",
  38. "fs-extra": "^10.0.0",
  39. "html-webpack-plugin": "^5.5.0",
  40. "http-proxy-middleware": "^3.0.3",
  41. "identity-obj-proxy": "^3.0.0",
  42. "jest": "^27.4.3",
  43. "jest-resolve": "^27.4.2",
  44. "jest-watch-typeahead": "^1.0.0",
  45. "konva": "^8.3.5",
  46. "mini-css-extract-plugin": "^2.4.5",
  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. "ramda": "^0.30.1",
  54. "react": "^18.3.1",
  55. "react-app-polyfill": "^3.0.0",
  56. "react-dev-utils": "^12.0.1",
  57. "react-dom": "^18.3.1",
  58. "react-konva": "^18.0.0",
  59. "react-redux": "^9.2.0",
  60. "react-refresh": "^0.11.0",
  61. "react-router": "^6.30.0",
  62. "react-router-dom": "^6.30.0",
  63. "resolve": "^1.20.0",
  64. "resolve-url-loader": "^4.0.0",
  65. "rxjs": "^7.8.2",
  66. "sass-loader": "^12.3.0",
  67. "semver": "^7.3.5",
  68. "source-map-loader": "^3.0.0",
  69. "style-loader": "^3.3.1",
  70. "terser-webpack-plugin": "^5.2.5",
  71. "typescript": "^4.9.5",
  72. "web-vitals": "^2.1.4",
  73. "webpack": "^5.64.4",
  74. "webpack-dev-server": "^4.6.0",
  75. "webpack-manifest-plugin": "^4.0.2",
  76. "workbox-webpack-plugin": "^6.4.1"
  77. },
  78. "scripts": {
  79. "start": "node scripts/start.js",
  80. "build": "node scripts/build.js",
  81. "test": "node scripts/test.js"
  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. "jest": {
  102. "roots": [
  103. "<rootDir>/src"
  104. ],
  105. "collectCoverageFrom": [
  106. "src/**/*.{js,jsx,ts,tsx}",
  107. "!src/**/*.d.ts"
  108. ],
  109. "setupFiles": [
  110. "react-app-polyfill/jsdom"
  111. ],
  112. "setupFilesAfterEnv": [
  113. "<rootDir>/src/setupTests.ts"
  114. ],
  115. "testMatch": [
  116. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  117. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  118. ],
  119. "testEnvironment": "jsdom",
  120. "transform": {
  121. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  122. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  123. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  124. },
  125. "transformIgnorePatterns": [
  126. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  127. "^.+\\.module\\.(css|sass|scss)$"
  128. ],
  129. "modulePaths": [],
  130. "moduleNameMapper": {
  131. "^react-native$": "react-native-web",
  132. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  133. },
  134. "moduleFileExtensions": [
  135. "web.js",
  136. "js",
  137. "web.ts",
  138. "ts",
  139. "web.tsx",
  140. "tsx",
  141. "json",
  142. "web.jsx",
  143. "jsx",
  144. "node"
  145. ],
  146. "watchPlugins": [
  147. "jest-watch-typeahead/filename",
  148. "jest-watch-typeahead/testname"
  149. ],
  150. "resetMocks": true
  151. },
  152. "babel": {
  153. "presets": [
  154. "react-app"
  155. ]
  156. },
  157. "devDependencies": {
  158. "autoprefixer": "^10.4.20",
  159. "sass": "^1.85.1",
  160. "tailwindcss": "^3.4.17"
  161. }
  162. }