package.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. {
  2. "name": "gfwservice-frontend",
  3. "version": "1.2.0",
  4. "private": true,
  5. "dependencies": {
  6. "@ahooksjs/use-url-state": "^3.5.1",
  7. "@ant-design/colors": "^6.0.0",
  8. "@ant-design/icons": "^4.8.0",
  9. "@emotion/cache": "^11.10.5",
  10. "@emotion/react": "^11.10.5",
  11. "@emotion/styled": "^11.10.5",
  12. "@fontsource/roboto": "^4.5.8",
  13. "@mui/base": "^5.0.0-alpha.112",
  14. "@mui/icons-material": "^5.11.0",
  15. "@mui/lab": "^5.0.0-alpha.114",
  16. "@mui/material": "^5.11.2",
  17. "@mui/system": "^5.11.2",
  18. "@mui/x-date-pickers": "^5.0.12",
  19. "@reduxjs/toolkit": "^1.9.1",
  20. "ahooks": "^3.7.4",
  21. "axios": "^1.2.2",
  22. "bfj": "^7.0.2",
  23. "browserslist": "^4.21.4",
  24. "buffer": "^6.0.3",
  25. "camelcase": "^7.0.1",
  26. "constate": "^3.3.2",
  27. "core-js": "^3.27.1",
  28. "crypto-browserify": "^3.12.0",
  29. "crypto-js": "^4.1.1",
  30. "dayjs": "^1.11.7",
  31. "dotenv": "^16.0.3",
  32. "dotenv-expand": "^10.0.0",
  33. "flag-icons": "^6.6.6",
  34. "formik": "^2.2.9",
  35. "framer-motion": "^7.10.3",
  36. "fs-extra": "^11.1.0",
  37. "history": "^5.3.0",
  38. "i18next": "^22.4.6",
  39. "i18next-browser-languagedetector": "^7.0.1",
  40. "identity-obj-proxy": "^3.0.0",
  41. "lodash-es": "^4.17.21",
  42. "markdown-to-jsx": "^7.1.8",
  43. "mui-markdown": "^0.5.6",
  44. "notistack": "^2.0.8",
  45. "postcss": "^8.4.20",
  46. "postcss-flexbugs-fixes": "^5.0.2",
  47. "postcss-normalize": "^10.0.1",
  48. "postcss-preset-env": "^7.8.3",
  49. "prism-react-renderer": "^1.3.5",
  50. "process": "^0.11.10",
  51. "prompts": "^2.4.2",
  52. "qrcode.react": "^3.1.0",
  53. "qs": "^6.11.0",
  54. "react": "^18.2.0",
  55. "react-app-polyfill": "^3.0.0",
  56. "react-device-detect": "^2.2.2",
  57. "react-dom": "^18.2.0",
  58. "react-google-recaptcha": "^2.1.0",
  59. "react-i18next": "^12.1.1",
  60. "react-material-ui-carousel": "^3.4.2",
  61. "react-redux": "^8.0.5",
  62. "react-refresh": "^0.14.0",
  63. "react-router": "^6.6.1",
  64. "react-router-dom": "^6.6.1",
  65. "react-timer-hook": "^3.0.5",
  66. "react18-input-otp": "^1.1.2",
  67. "redux": "^4.2.0",
  68. "resize-observer-polyfill": "^1.5.1",
  69. "resolve": "^1.22.1",
  70. "sass": "^1.57.1",
  71. "semver": "^7.3.8",
  72. "simplebar": "^5.3.9",
  73. "simplebar-react": "^2.4.3",
  74. "stream-browserify": "^3.0.0",
  75. "stylis": "^4.1.3",
  76. "stylis-plugin-rtl": "^2.1.1",
  77. "terser": "^5.16.1",
  78. "tss-react": "^4.5.1",
  79. "ua-parser-js": "^1.0.32",
  80. "vite": "^4.0.3",
  81. "web-vitals": "^3.1.0",
  82. "yup": "^0.32.11"
  83. },
  84. "devDependencies": {
  85. "@babel/core": "^7.20.7",
  86. "@babel/eslint-parser": "^7.19.1",
  87. "@babel/plugin-syntax-flow": "^7.18.6",
  88. "@babel/plugin-transform-react-jsx": "^7.20.7",
  89. "@rollup/plugin-image": "^3.0.1",
  90. "@types/crypto-js": "^4.1.1",
  91. "@types/lodash-es": "^4.17.6",
  92. "@types/node": "^18.11.18",
  93. "@types/qs": "^6.9.7",
  94. "@types/react": "^18.0.26",
  95. "@types/react-dom": "^18.0.10",
  96. "@types/react-google-recaptcha": "^2.1.5",
  97. "@types/ua-parser-js": "^0.7.36",
  98. "@types/uuid": "^9.0.0",
  99. "@typescript-eslint/eslint-plugin": "5.47.0",
  100. "@typescript-eslint/parser": "^5.47.1",
  101. "@vitejs/plugin-legacy": "^3.0.1",
  102. "@vitejs/plugin-react": "^3.0.0",
  103. "babel-plugin-named-asset-import": "^0.3.8",
  104. "babel-preset-react-app": "^10.0.1",
  105. "eslint": "^8.30.0",
  106. "eslint-config-prettier": "^8.5.0",
  107. "eslint-config-react-app": "^7.0.1",
  108. "eslint-plugin-flowtype": "^8.0.3",
  109. "eslint-plugin-import": "^2.26.0",
  110. "eslint-plugin-jsx-a11y": "^6.6.1",
  111. "eslint-plugin-prettier": "^4.2.1",
  112. "eslint-plugin-react": "^7.31.11",
  113. "eslint-plugin-react-hooks": "^4.6.0",
  114. "immutable": "^4.2.1",
  115. "pnpm": "^7.21.0",
  116. "prettier": "^2.8.1",
  117. "prettier-eslint-cli": "^6.0.1",
  118. "react-error-overlay": "6.0.11",
  119. "rollup-plugin-visualizer": "^5.8.3",
  120. "typescript": "^4.9.4"
  121. },
  122. "scripts": {
  123. "start": "vite",
  124. "build": "pnpm run type-check && vite build --config vite.config.ts",
  125. "format": "prettier --write src/**/*.{js,jsx,ts,tsx,css}",
  126. "type-check": "tsc --noEmit"
  127. },
  128. "eslintConfig": {
  129. "extends": [
  130. "react-app",
  131. "react-app/jest"
  132. ],
  133. "rules": {
  134. "react/jsx-uses-react": "off",
  135. "react/react-in-jsx-scope": "off"
  136. }
  137. },
  138. "babel": {
  139. "presets": [
  140. "react-app"
  141. ]
  142. },
  143. "browserslist": {
  144. "production": [
  145. ">0.2%",
  146. "not dead",
  147. "not op_mini all"
  148. ],
  149. "development": [
  150. "last 1 chrome version",
  151. "last 1 firefox version",
  152. "last 1 safari version"
  153. ]
  154. },
  155. "jest": {
  156. "roots": [
  157. "<rootDir>/src"
  158. ],
  159. "collectCoverageFrom": [
  160. "src/**/*.{js,jsx,ts,tsx}",
  161. "!src/**/*.d.ts"
  162. ],
  163. "setupFiles": [
  164. "react-app-polyfill/jsdom"
  165. ],
  166. "setupFilesAfterEnv": [
  167. "<rootDir>/src/setupTests.ts"
  168. ],
  169. "testMatch": [
  170. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  171. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  172. ],
  173. "testEnvironment": "jsdom",
  174. "transform": {
  175. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  176. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  177. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  178. },
  179. "transformIgnorePatterns": [
  180. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  181. "^.+\\.module\\.(css|sass|scss)$"
  182. ],
  183. "modulePaths": [
  184. "C:\\Users\\ahdar\\Documents\\Code\\star-horizon\\gfwservice-frontend\\src"
  185. ],
  186. "moduleNameMapper": {
  187. "^react-native$": "react-native-web",
  188. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  189. },
  190. "moduleFileExtensions": [
  191. "web.js",
  192. "js",
  193. "web.ts",
  194. "ts",
  195. "web.tsx",
  196. "tsx",
  197. "json",
  198. "web.jsx",
  199. "jsx",
  200. "node"
  201. ],
  202. "watchPlugins": [
  203. "jest-watch-typeahead/filename",
  204. "jest-watch-typeahead/testname"
  205. ],
  206. "resetMocks": true
  207. }
  208. }