package.json 5.1 KB

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