package.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. {
  2. "name": "quran.com",
  3. "version": "1.0.0",
  4. "main": "index.js",
  5. "license": "MIT",
  6. "engines": {
  7. "node": "18.x"
  8. },
  9. "scripts": {
  10. "dev": "next dev",
  11. "dev:https": "node server.js",
  12. "build": "next build",
  13. "postbuild": "yarn run generate-sitemap",
  14. "snapshots:update": "vitest run --update",
  15. "start": "next start",
  16. "storybook": "storybook dev -p 6006",
  17. "build-storybook": "storybook build",
  18. "lint": "eslint . --ext=tsx,ts,js,jsx",
  19. "lint:fix": "yarn lint --fix",
  20. "lint:scss": "yarn stylelint '**/*.scss' --fix",
  21. "generate-sitemap": "next-sitemap --config next-sitemap.js && node scripts/format-sitemap.js",
  22. "test": "vitest run",
  23. "test:integration": "playwright test",
  24. "test:coverage": "vitest run --coverage",
  25. "test:watch": "vitest watch",
  26. "analyze": "cross-env ANALYZE_BUNDLE=true yarn build",
  27. "lokalise": "node scripts/lokalise.js",
  28. "chapter-data:format": "node scripts/format-chapter-data-json.js",
  29. "postinstall": "husky",
  30. "prepack": "pinst --disable",
  31. "postpack": "pinst --enable"
  32. },
  33. "dependencies": {
  34. "@babel/eslint-parser": "^7.19.1",
  35. "@milkdown/core": "^7.3.3",
  36. "@milkdown/ctx": "^7.3.3",
  37. "@milkdown/preset-commonmark": "^7.3.3",
  38. "@milkdown/prose": "^7.3.3",
  39. "@milkdown/react": "^7.3.3",
  40. "@milkdown/transformer": "^7.3.3",
  41. "@milkdown/utils": "^7.3.3",
  42. "@next/bundle-analyzer": "^12.3.1",
  43. "@novu/headless": "0.24.0",
  44. "@radix-ui/react-checkbox": "^1.0.0",
  45. "@radix-ui/react-collapsible": "^1.0.0",
  46. "@radix-ui/react-dialog": "^1.0.5",
  47. "@radix-ui/react-direction": "^1.0.1",
  48. "@radix-ui/react-dropdown-menu": "^2.0.6",
  49. "@radix-ui/react-hover-card": "^1.0.7",
  50. "@radix-ui/react-id": "^1.0.1",
  51. "@radix-ui/react-polymorphic": "^0.0.14",
  52. "@radix-ui/react-popover": "^1.0.7",
  53. "@radix-ui/react-progress": "^1.0.3",
  54. "@radix-ui/react-radio-group": "^1.1.3",
  55. "@radix-ui/react-separator": "^1.0.3",
  56. "@radix-ui/react-slider": "^1.1.2",
  57. "@radix-ui/react-switch": "^1.0.3",
  58. "@radix-ui/react-tabs": "^1.0.4",
  59. "@radix-ui/react-tooltip": "^1.0.7",
  60. "@radix-ui/react-visually-hidden": "^1.0.3",
  61. "@reduxjs/toolkit": "^1.8.5",
  62. "@sanity/client": "^5.2.1",
  63. "@sanity/image-url": "^1.0.2",
  64. "@sentry/nextjs": "^7.77.0",
  65. "@umalqura/core": "^0.0.7",
  66. "@xstate/react": "^3.0.1",
  67. "classnames": "^2.3.2",
  68. "clipboard-copy": "^4.0.1",
  69. "cookie": "^0.5.0",
  70. "firebase": "^9.10.0",
  71. "fuse.js": "^6.6.2",
  72. "groq": "^3.4.0",
  73. "humps": "^2.0.1",
  74. "js-cookie": "^3.0.1",
  75. "lodash": "^4.17.21",
  76. "next": "^12.1.5",
  77. "next-compose-plugins": "^2.2.0",
  78. "next-fonts": "^1.0.3",
  79. "next-pwa": "^5.6.0",
  80. "next-seo": "^5.5.0",
  81. "next-translate": "^1.6.0",
  82. "node-fetch": "2",
  83. "react": "^17.0.2",
  84. "react-dom": "^17.0.2",
  85. "react-hook-form": "^7.36.1",
  86. "react-hotkeys-hook": "^3.4.7",
  87. "react-joyride": "^2.7.2",
  88. "react-redux": "^8.0.4",
  89. "react-toastify": "^9.0.8",
  90. "react-virtuoso": "^2.19.0",
  91. "redux": "^4.2.0",
  92. "redux-persist": "^6.0.0",
  93. "refresh-fetch": "^0.8.0",
  94. "swr": "1.2.1",
  95. "xstate": "^4.33.6"
  96. },
  97. "devDependencies": {
  98. "@lokalise/node-api": "^8.0.1",
  99. "@next/eslint-plugin-next": "^12.3.1",
  100. "@playwright/test": "^1.26.0",
  101. "@storybook/addon-a11y": "^7.6.4",
  102. "@storybook/addon-actions": "^7.6.4",
  103. "@storybook/addon-essentials": "^7.6.4",
  104. "@storybook/addon-links": "^7.6.4",
  105. "@storybook/addon-storysource": "^7.6.4",
  106. "@storybook/addon-styling-webpack": "^0.0.5",
  107. "@storybook/nextjs": "^7.6.4",
  108. "@storybook/react": "^7.6.4",
  109. "@svgr/webpack": "^6.3.1",
  110. "@testing-library/react": "^13.4.0",
  111. "@types/cookie": "^0.5.1",
  112. "@types/js-cookie": "^3.0.2",
  113. "@types/lodash": "^4.14.184",
  114. "@types/node": "^20.10.4",
  115. "@types/node-fetch": "^2.6.2",
  116. "@types/qs": "^6.9.7",
  117. "@types/react": "^18.2.45",
  118. "@types/react-dom": "^18.2.17",
  119. "@types/react-redux": "^7.1.23",
  120. "@types/refresh-fetch": "^0.6.1",
  121. "@types/wicg-mediasession": "^1.1.3",
  122. "@typescript-eslint/eslint-plugin": "^6.14.0",
  123. "@typescript-eslint/parser": "^6.14.0",
  124. "@vitejs/plugin-react": "^2.1.0",
  125. "@vitest/coverage-c8": "^0.23.4",
  126. "adm-zip": "^0.5.9",
  127. "cross-env": "^7.0.3",
  128. "dotenv": "^16.0.2",
  129. "eslint": "^8.24.0",
  130. "eslint-config-airbnb": "^19.0.4",
  131. "eslint-config-next": "^14.0.4",
  132. "eslint-config-prettier": "^8.5.0",
  133. "eslint-plugin-i18next": "^6.0.0-4",
  134. "eslint-plugin-import": "^2.26.0",
  135. "eslint-plugin-jsdoc": "^46.9.0",
  136. "eslint-plugin-jsx-a11y": "^6.6.1",
  137. "eslint-plugin-prettier": "^4.2.1",
  138. "eslint-plugin-react": "^7.31.8",
  139. "eslint-plugin-react-func": "^0.1.18",
  140. "eslint-plugin-react-hooks": "^4.6.0",
  141. "eslint-plugin-sonarjs": "^0.15.0",
  142. "eslint-plugin-storybook": "^0.6.15",
  143. "eslint-plugin-unicorn": "^43.0.2",
  144. "husky": "^9.0.11",
  145. "inquirer": "^8.0.0",
  146. "inquirer-file-tree-selection-prompt": "^1",
  147. "jsdom": "^20.0.0",
  148. "lint-staged": "^13.0.3",
  149. "next-sitemap": "^3.1.22",
  150. "pinst": "^3.0.0",
  151. "postcss": "8",
  152. "postcss-scss": "^4.0.5",
  153. "prettier": "^2.7.1",
  154. "react-docgen-typescript-loader": "^3.7.2",
  155. "replace-in-file": "^6.3.5",
  156. "sass": "^1.55.0",
  157. "sass-loader": "^13.0.2",
  158. "storybook": "^7.6.4",
  159. "storybook-addon-rtl": "^1.0.0",
  160. "stylelint": "14.12.1",
  161. "stylelint-prettier": "^2.0.0",
  162. "stylelint-scss": "^4.3.0",
  163. "stylelint-use-logical": "^2.0.0",
  164. "superagent": "^8.0.0",
  165. "typescript": "^4.8.3",
  166. "vite": "^3.2.5",
  167. "vitest": "^0.23.4"
  168. },
  169. "husky": {
  170. "hooks": {
  171. "pre-commit": "lint-staged"
  172. }
  173. },
  174. "lint-staged": {
  175. "*.{tsx,ts}": "yarn lint:fix",
  176. "*.scss": "yarn lint:scss",
  177. "*": "prettier --write"
  178. }
  179. }