package.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. {
  2. "private": true,
  3. "scripts": {
  4. "generate-graphql-api": "bundle exec rails generate zammad:graphql_introspection > app/graphql/graphql_introspection.json && pnpm exec graphql-codegen -c .graphql_code_generator.js",
  5. "generate-setting-types": "bundle exec rails generate zammad:setting_types",
  6. "dev": "RAILS_ENV=development forego start -f Procfile.dev",
  7. "dev:https": "VITE_RUBY_HOST=0.0.0.0 VITE_RUBY_HTTPS=true RAILS_ENV=development forego start -f Procfile.dev-https",
  8. "i18n": "rails generate zammad:translation_catalog",
  9. "lint": "pnpm lint:ts && pnpm lint:js && pnpm lint:css",
  10. "lint:fix": "pnpm lint:ts && pnpm lint:js:fix && pnpm lint:css:fix",
  11. "lint:ts": "vue-tsc --noEmit",
  12. "lint:js": "pnpm lint:js:cmd app/frontend/ .eslint-plugin-zammad/",
  13. "lint:js:cmd": "eslint --cache --cache-location ./tmp/eslintcache.js --cache-strategy content -c .eslintrc.js --ext .js,.ts,.vue",
  14. "lint:js:fix": "pnpm lint:js --fix",
  15. "lint:css": "pnpm lint:css:cmd **/*.{css,vue,scss}",
  16. "lint:css:cmd": "stylelint",
  17. "lint:css:fix": "pnpm lint:css --fix",
  18. "test": "VTL_SKIP_AUTO_CLEANUP=true TZ=utc vitest",
  19. "test:ct": "cd .dev/cypress; CY_OPEN=true pnpm cypress open --component --project ../../ --config-file .dev/cypress/cypress.config.mjs",
  20. "test:ci:ct": "cd .dev/cypress; CI=true pnpm cypress run --component --project ../../ --config-file .dev/cypress/cypress.config.mjs --browser electron",
  21. "cypress:snapshots": "sh .dev/cypress/visual-regression/snapshots.sh",
  22. "cypress:install": "pnpm --dir ./.dev/cypress install --frozen-lockfile",
  23. "analyse:vite-bundle": "pnpm exec vite-bundle-visualizer",
  24. "generate:install": "pnpm --dir ./.dev/hygen install --frozen-lockfile",
  25. "generate:generic-component": "pnpm --dir ./.dev/hygen exec hygen new generic-component",
  26. "generate:composable": "pnpm --dir ./.dev/hygen exec hygen new composable ",
  27. "generate:store": "pnpm --dir ./.dev/hygen exec hygen new store"
  28. },
  29. "engines": {
  30. "node": ">=18.12.0",
  31. "pnpm": ">=9"
  32. },
  33. "packageManager": "pnpm@9.15.0",
  34. "devDependencies": {
  35. "@faker-js/faker": "^9.3.0",
  36. "@graphql-codegen/cli": "^5.0.3",
  37. "@graphql-codegen/introspection": "^4.0.3",
  38. "@graphql-codegen/near-operation-file-preset": "^3.0.0",
  39. "@graphql-codegen/typescript": "^4.1.2",
  40. "@graphql-codegen/typescript-operations": "^4.4.0",
  41. "@graphql-codegen/typescript-vue-apollo": "^4.1.1",
  42. "@pinia/testing": "^0.1.7",
  43. "@tailwindcss/container-queries": "^0.1.1",
  44. "@testing-library/jest-dom": "^6.6.3",
  45. "@testing-library/user-event": "^14.5.2",
  46. "@testing-library/vue": "^8.1.0",
  47. "@types/lodash-es": "^4.17.12",
  48. "@types/qrcode": "^1.5.5",
  49. "@types/rails__actioncable": "^6.1.11",
  50. "@types/sinonjs__fake-timers": "^8.1.5",
  51. "@types/ua-parser-js": "^0.7.39",
  52. "@types/uuid": "^10.0.0",
  53. "@typescript-eslint/eslint-plugin": "^8.14.0",
  54. "@typescript-eslint/parser": "^8.14.0",
  55. "@vitejs/plugin-vue": "^5.2.1",
  56. "@vue/compiler-dom": "^3.5.13",
  57. "@vue/eslint-config-prettier": "^9.0.0",
  58. "@vue/eslint-config-typescript": "^13.0.0",
  59. "@vue/server-renderer": "^3.5.13",
  60. "@vue/test-utils": "^2.4.6",
  61. "autoprefixer": "^10.4.20",
  62. "eslint": "^8.57.1",
  63. "eslint-config-airbnb-base": "^15.0.0",
  64. "eslint-config-prettier": "^9.1.0",
  65. "eslint-import-resolver-alias": "^1.1.2",
  66. "eslint-import-resolver-typescript": "^3.7.0",
  67. "eslint-plugin-import": "^2.31.0",
  68. "eslint-plugin-prettier": "^5.2.1",
  69. "eslint-plugin-prettier-vue": "^5.0.0",
  70. "eslint-plugin-security": "^2.1.1",
  71. "eslint-plugin-sonarjs": "^0.25.1",
  72. "eslint-plugin-vue": "^9.32.0",
  73. "eslint-plugin-vuejs-accessibility": "^2.4.1",
  74. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  75. "jsdom": "^25.0.1",
  76. "minimatch": "^10.0.1",
  77. "mock-apollo-client": "^1.3.1",
  78. "postcss": "^8.4.49",
  79. "postcss-html": "^1.7.0",
  80. "prettier": "3.4.2",
  81. "prettier-plugin-tailwindcss": "^0.6.9",
  82. "regenerator-runtime": "^0.14.1",
  83. "sass": "^1.82.0",
  84. "stylelint": "^16.11.0",
  85. "stylelint-config-prettier": "^9.0.5",
  86. "stylelint-config-recommended-vue": "^1.5.0",
  87. "stylelint-config-standard": "^36.0.1",
  88. "stylelint-config-standard-scss": "^14.0.0",
  89. "stylelint-prettier": "^5.0.2",
  90. "stylelint-scss": "^6.10.0",
  91. "svg-baker": "^1.7.0",
  92. "svgo": "^3.3.2",
  93. "tailwindcss": "^3.4.16",
  94. "tailwindcss-unimportant": "^2.1.1",
  95. "timezone-mock": "^1.3.6",
  96. "type-fest": "^4.27.0",
  97. "typescript": "^5.6.3",
  98. "vite": "^5.4.11",
  99. "vite-plugin-pwa": "^0.21.1",
  100. "vite-plugin-ruby": "^5.1.1",
  101. "vitest": "^2.1.8",
  102. "vitest-axe": "^0.1.0",
  103. "vue-tsc": "^2.1.10"
  104. },
  105. "dependencies": {
  106. "@apollo/client": "^3.12.2",
  107. "@formkit/core": "^1.6.9",
  108. "@formkit/dev": "^1.6.9",
  109. "@formkit/drag-and-drop": "^0.1.6",
  110. "@formkit/i18n": "^1.6.9",
  111. "@formkit/inputs": "^1.6.9",
  112. "@formkit/rules": "^1.6.9",
  113. "@formkit/tailwindcss": "^1.6.9",
  114. "@formkit/themes": "^1.6.9",
  115. "@formkit/utils": "^1.6.9",
  116. "@formkit/validation": "^1.6.9",
  117. "@formkit/vue": "^1.6.9",
  118. "@github/webauthn-json": "^2.1.1",
  119. "@rails/actioncable": "^7.2.200",
  120. "@sinonjs/fake-timers": "^13.0.5",
  121. "@tiptap/core": "^2.10.3",
  122. "@tiptap/extension-blockquote": "^2.10.3",
  123. "@tiptap/extension-bold": "^2.10.3",
  124. "@tiptap/extension-bullet-list": "^2.10.3",
  125. "@tiptap/extension-character-count": "^2.10.3",
  126. "@tiptap/extension-code": "^2.10.3",
  127. "@tiptap/extension-code-block": "^2.10.3",
  128. "@tiptap/extension-code-block-lowlight": "^2.10.3",
  129. "@tiptap/extension-color": "^2.10.3",
  130. "@tiptap/extension-document": "^2.10.3",
  131. "@tiptap/extension-hard-break": "^2.10.3",
  132. "@tiptap/extension-heading": "^2.10.3",
  133. "@tiptap/extension-image": "^2.10.3",
  134. "@tiptap/extension-italic": "^2.10.3",
  135. "@tiptap/extension-link": "^2.10.3",
  136. "@tiptap/extension-list-item": "^2.10.3",
  137. "@tiptap/extension-mention": "^2.10.3",
  138. "@tiptap/extension-ordered-list": "^2.10.3",
  139. "@tiptap/extension-paragraph": "^2.10.3",
  140. "@tiptap/extension-strike": "^2.10.3",
  141. "@tiptap/extension-table": "^2.10.3",
  142. "@tiptap/extension-table-cell": "^2.10.3",
  143. "@tiptap/extension-table-header": "^2.10.3",
  144. "@tiptap/extension-table-row": "^2.10.3",
  145. "@tiptap/extension-text": "^2.10.3",
  146. "@tiptap/extension-text-style": "^2.10.3",
  147. "@tiptap/extension-underline": "^2.10.3",
  148. "@tiptap/pm": "^2.10.3",
  149. "@tiptap/starter-kit": "^2.10.3",
  150. "@tiptap/suggestion": "^2.10.3",
  151. "@tiptap/vue-3": "^2.10.3",
  152. "@vue/apollo-composable": "^4.2.1",
  153. "@vue/runtime-core": "^3.5.13",
  154. "@vuepic/vue-datepicker": "^9.0.3",
  155. "@vueuse/core": "^11.3.0",
  156. "@vueuse/router": "^11.3.0",
  157. "@vueuse/shared": "^11.3.0",
  158. "async-mutex": "^0.5.0",
  159. "graphql": "^16.9.0",
  160. "graphql-ruby-client": "^1.14.5",
  161. "graphql-tag": "^2.12.6",
  162. "linkify-string": "^4.2.0",
  163. "linkifyjs": "^4.2.0",
  164. "lodash-es": "^4.17.21",
  165. "loglevel": "^1.9.2",
  166. "lowlight": "^3.2.0",
  167. "mitt": "^3.0.1",
  168. "pinia": "^2.3.0",
  169. "qrcode": "^1.5.4",
  170. "tippy.js": "^6.3.7",
  171. "tiptap-text-direction": "^0.3.1",
  172. "ts-essentials": "^10.0.3",
  173. "tslib": "^2.8.1",
  174. "ua-parser-js": "^2.0.0",
  175. "uuid": "^11.0.3",
  176. "vite-bundle-visualizer": "^1.2.1",
  177. "vue": "^3.5.13",
  178. "vue-advanced-cropper": "^2.8.9",
  179. "vue-easy-lightbox": "1.19.0",
  180. "vue-router": "^4.5.0",
  181. "vue3-draggable-resizable": "^1.6.5",
  182. "workbox-core": "^7.3.0",
  183. "workbox-precaching": "^7.3.0",
  184. "workbox-window": "^7.3.0"
  185. },
  186. "resolutions": {
  187. "loader-utils": "^3.3.1",
  188. "postcss": "^8.4.49",
  189. "stylelint-config-recommended": "^14.0.1"
  190. }
  191. }