package.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. {
  2. "name": "gfwservice-frontend",
  3. "version": "1.2.0",
  4. "private": true,
  5. "dependencies": {
  6. "@ant-design/colors": "^6.0.0",
  7. "@ant-design/icons": "^4.7.0",
  8. "@emotion/cache": "^11.10.5",
  9. "@emotion/react": "^11.10.5",
  10. "@emotion/styled": "^11.10.5",
  11. "@mui/base": "^5.0.0-alpha.101",
  12. "@mui/lab": "^5.0.0-alpha.103",
  13. "@mui/material": "^5.10.9",
  14. "@mui/system": "^5.10.9",
  15. "@mui/x-date-pickers": "^5.0.4",
  16. "@reduxjs/toolkit": "^1.8.6",
  17. "@rollup/plugin-image": "^3.0.1",
  18. "@vitejs/plugin-react": "^3.0.0",
  19. "axios": "^1.2.1",
  20. "bfj": "^7.0.2",
  21. "browserslist": "^4.18.1",
  22. "buffer": "^6.0.3",
  23. "camelcase": "^6.2.1",
  24. "case-sensitive-paths-webpack-plugin": "^2.4.0",
  25. "crypto-browserify": "^3.12.0",
  26. "dotenv": "^10.0.0",
  27. "dotenv-expand": "^5.1.0",
  28. "firebase": "^9.13.0",
  29. "formik": "^2.2.9",
  30. "framer-motion": "^7.5.3",
  31. "fs-extra": "^10.0.0",
  32. "history": "^5.3.0",
  33. "i18next": "^22.4.5",
  34. "i18next-browser-languagedetector": "^7.0.1",
  35. "identity-obj-proxy": "^3.0.0",
  36. "lodash-es": "^4.17.21",
  37. "notistack": "^2.0.8",
  38. "postcss": "^8.4.4",
  39. "postcss-flexbugs-fixes": "^5.0.2",
  40. "postcss-normalize": "^10.0.1",
  41. "postcss-preset-env": "^7.0.1",
  42. "process": "^0.11.10",
  43. "prompts": "^2.4.2",
  44. "qs": "^6.11.0",
  45. "react": "^18.2.0",
  46. "react-app-polyfill": "^3.0.0",
  47. "react-device-detect": "^2.2.2",
  48. "react-dom": "^18.2.0",
  49. "react-google-recaptcha": "^2.1.0",
  50. "react-i18next": "^12.1.1",
  51. "react-redux": "^8.0.5",
  52. "react-refresh": "^0.11.0",
  53. "react-router": "^6.4.2",
  54. "react-router-dom": "^6.4.2",
  55. "react-timer-hook": "^3.0.5",
  56. "react18-input-otp": "^1.1.0",
  57. "redux": "^4.2.0",
  58. "resize-observer-polyfill": "^1.5.1",
  59. "resolve": "^1.20.0",
  60. "semver": "^7.3.5",
  61. "simplebar": "^5.3.8",
  62. "simplebar-react": "^2.4.1",
  63. "stream-browserify": "^3.0.0",
  64. "stylis": "^4.1.3",
  65. "stylis-plugin-rtl": "^2.1.1",
  66. "tailwindcss": "^3.0.2",
  67. "terser": "^5.16.1",
  68. "tss-react": "^4.4.5",
  69. "util": "^0.12.5",
  70. "uuid": "^9.0.0",
  71. "vite": "^4.0.1",
  72. "web-vitals": "^2.1.4",
  73. "yup": "^0.32.11"
  74. },
  75. "devDependencies": {
  76. "@babel/core": "^7.19.3",
  77. "@babel/eslint-parser": "^7.19.1",
  78. "@babel/plugin-syntax-flow": "^7.18.6",
  79. "@babel/plugin-transform-react-jsx": "^7.19.0",
  80. "@types/lodash-es": "^4.17.6",
  81. "@types/node": "^18.11.17",
  82. "@types/qs": "^6.9.7",
  83. "@types/react": "^18.0.26",
  84. "@types/react-dom": "^18.0.6",
  85. "@types/react-google-recaptcha": "^2.1.5",
  86. "@types/uuid": "^8.3.4",
  87. "@types/webpack-env": "^1.18.0",
  88. "@typescript-eslint/eslint-plugin": "5.40.0",
  89. "@typescript-eslint/parser": "^5.40.0",
  90. "@vitejs/plugin-legacy": "^3.0.1",
  91. "babel-plugin-named-asset-import": "^0.3.8",
  92. "babel-preset-react-app": "^10.0.1",
  93. "eslint": "^8.3.0",
  94. "eslint-config-prettier": "^8.5.0",
  95. "eslint-config-react-app": "^7.0.1",
  96. "eslint-plugin-flowtype": "^5.7.2",
  97. "eslint-plugin-import": "^2.26.0",
  98. "eslint-plugin-jsx-a11y": "^6.6.1",
  99. "eslint-plugin-prettier": "^4.2.1",
  100. "eslint-plugin-react": "^7.31.10",
  101. "eslint-plugin-react-hooks": "^4.6.0",
  102. "immutable": "^4.1.0",
  103. "prettier": "^2.7.1",
  104. "prettier-eslint-cli": "^6.0.1",
  105. "react-error-overlay": "6.0.9",
  106. "rollup-plugin-visualizer": "^5.8.3",
  107. "typescript": "^4.8.4"
  108. },
  109. "scripts": {
  110. "start": "vite",
  111. "build": "pnpm run type-check && vite build",
  112. "format": "prettier --write src/**/*.{js,jsx,ts,tsx,css}",
  113. "preinstall": "npx only-allow pnpm",
  114. "type-check": "tsc --noEmit"
  115. },
  116. "eslintConfig": {
  117. "extends": [
  118. "react-app",
  119. "react-app/jest"
  120. ],
  121. "rules": {
  122. "react/jsx-uses-react": "off",
  123. "react/react-in-jsx-scope": "off"
  124. }
  125. },
  126. "babel": {
  127. "presets": [
  128. "react-app"
  129. ]
  130. },
  131. "browserslist": {
  132. "production": [
  133. ">0.2%",
  134. "not dead",
  135. "not op_mini all"
  136. ],
  137. "development": [
  138. "last 1 chrome version",
  139. "last 1 firefox version",
  140. "last 1 safari version"
  141. ]
  142. },
  143. "jest": {
  144. "roots": [
  145. "<rootDir>/src"
  146. ],
  147. "collectCoverageFrom": [
  148. "src/**/*.{js,jsx,ts,tsx}",
  149. "!src/**/*.d.ts"
  150. ],
  151. "setupFiles": [
  152. "react-app-polyfill/jsdom"
  153. ],
  154. "setupFilesAfterEnv": [
  155. "<rootDir>/src/setupTests.ts"
  156. ],
  157. "testMatch": [
  158. "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
  159. "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
  160. ],
  161. "testEnvironment": "jsdom",
  162. "transform": {
  163. "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
  164. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  165. "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  166. },
  167. "transformIgnorePatterns": [
  168. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
  169. "^.+\\.module\\.(css|sass|scss)$"
  170. ],
  171. "modulePaths": [
  172. "C:\\Users\\ahdar\\Documents\\Code\\star-horizon\\gfwservice-frontend\\src"
  173. ],
  174. "moduleNameMapper": {
  175. "^react-native$": "react-native-web",
  176. "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
  177. },
  178. "moduleFileExtensions": [
  179. "web.js",
  180. "js",
  181. "web.ts",
  182. "ts",
  183. "web.tsx",
  184. "tsx",
  185. "json",
  186. "web.jsx",
  187. "jsx",
  188. "node"
  189. ],
  190. "watchPlugins": [
  191. "jest-watch-typeahead/filename",
  192. "jest-watch-typeahead/testname"
  193. ],
  194. "resetMocks": true
  195. }
  196. }