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.

165 lines
4.4 KiB

5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
4 months ago
5 months ago
  1. {
  2. "name": "outline",
  3. "version": "0.1.0",
  4. "private": true,
  5. "proxy": "http://127.0.0.1:8080",
  6. "dependencies": {
  7. "@babel/core": "^7.16.0",
  8. "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
  9. "@reduxjs/toolkit": "^2.6.0",
  10. "@svgr/webpack": "^5.5.0",
  11. "@testing-library/dom": "^10.4.0",
  12. "@testing-library/jest-dom": "^6.6.3",
  13. "@testing-library/react": "^16.2.0",
  14. "@testing-library/user-event": "^13.5.0",
  15. "@types/jest": "^27.5.2",
  16. "@types/node": "^16.18.126",
  17. "@types/ramda": "^0.30.2",
  18. "@types/react": "^19.0.10",
  19. "@types/react-dom": "^19.0.4",
  20. "@types/rx": "^4.1.4",
  21. "antd": "^5.24.2",
  22. "babel-jest": "^27.4.2",
  23. "babel-loader": "^8.2.3",
  24. "babel-plugin-named-asset-import": "^0.3.8",
  25. "babel-preset-react-app": "^10.0.1",
  26. "bfj": "^7.0.2",
  27. "browserslist": "^4.18.1",
  28. "camelcase": "^6.2.1",
  29. "case-sensitive-paths-webpack-plugin": "^2.4.0",
  30. "classnames": "^2.5.1",
  31. "css-loader": "^6.5.1",
  32. "css-minimizer-webpack-plugin": "^3.2.0",
  33. "dayjs": "^1.11.13",
  34. "dotenv": "^10.0.0",
  35. "dotenv-expand": "^5.1.0",
  36. "eslint": "^8.3.0",
  37. "eslint-config-react-app": "^7.0.1",
  38. "eslint-webpack-plugin": "^3.1.1",
  39. "file-loader": "^6.2.0",
  40. "fs-extra": "^10.0.0",
  41. "html-webpack-plugin": "^5.5.0",
  42. "identity-obj-proxy": "^3.0.0",
  43. "jest": "^27.4.3",
  44. "jest-resolve": "^27.4.2",
  45. "jest-watch-typeahead": "^1.0.0",
  46. "konva": "^8.3.5",
  47. "mini-css-extract-plugin": "^2.4.5",
  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. "tailwindcss": "^3.4.17",
  71. "terser-webpack-plugin": "^5.2.5",
  72. "typescript": "^4.9.5",
  73. "use-force-update": "^1.0.11",
  74. "web-vitals": "^2.1.4",
  75. "webpack": "^5.64.4",
  76. "webpack-dev-server": "^4.6.0",
  77. "webpack-manifest-plugin": "^4.0.2",
  78. "workbox-webpack-plugin": "^6.4.1"
  79. },
  80. "scripts": {
  81. "start": "node scripts/start.js",
  82. "build": "node scripts/build.js",
  83. "test": "node scripts/test.js"
  84. },
  85. "eslintConfig": {
  86. "extends": [
  87. "react-app",
  88. "react-app/jest"
  89. ]
  90. },
  91. "browserslist": {
  92. "production": [
  93. ">0.2%",
  94. "not dead",
  95. "not op_mini all"
  96. ],
  97. "development": [
  98. "last 1 chrome version",
  99. "last 1 firefox version",
  100. "last 1 safari version"
  101. ]
  102. },
  103. "jest": {
  104. "roots": [
  105. "<rootDir>/src"
  106. ],
  107. "collectCoverageFrom": [
  108. "src/**/*.{js,jsx,ts,tsx}",
  109. "!src/**/*.d.ts"
  110. ],
  111. "setupFiles": [
  112. "react-app-polyfill/jsdom"
  113. ],
  114. "setupFilesAfterEnv": [
  115. "<rootDir>/src/setupTests.ts"
  116. ],
  117. "testMatch": [
  118. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  119. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  120. ],
  121. "testEnvironment": "jsdom",
  122. "transform": {
  123. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  124. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  125. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  126. },
  127. "transformIgnorePatterns": [
  128. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  129. "^.+\\.module\\.(css|sass|scss)$"
  130. ],
  131. "modulePaths": [],
  132. "moduleNameMapper": {
  133. "^react-native$": "react-native-web",
  134. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  135. },
  136. "moduleFileExtensions": [
  137. "web.js",
  138. "js",
  139. "web.ts",
  140. "ts",
  141. "web.tsx",
  142. "tsx",
  143. "json",
  144. "web.jsx",
  145. "jsx",
  146. "node"
  147. ],
  148. "watchPlugins": [
  149. "jest-watch-typeahead/filename",
  150. "jest-watch-typeahead/testname"
  151. ],
  152. "resetMocks": true
  153. },
  154. "babel": {
  155. "presets": [
  156. "react-app"
  157. ]
  158. },
  159. "devDependencies": {
  160. "@craco/craco": "^7.1.0",
  161. "autoprefixer": "^10.4.20",
  162. "postcss": "^8.5.3",
  163. "sass": "^1.85.1"
  164. }
  165. }