package.json 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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",
  23. "analyse:vite-bundle": "pnpm exec vite-bundle-visualizer",
  24. "generate:component": "cd .dev/hygen; pnpm exec hygen component new"
  25. },
  26. "engines": {
  27. "node": ">=18.12.0",
  28. "pnpm": ">=9"
  29. },
  30. "packageManager": "pnpm@9.11.0",
  31. "devDependencies": {
  32. "@faker-js/faker": "^9.0.3",
  33. "@graphql-codegen/cli": "^5.0.2",
  34. "@graphql-codegen/introspection": "^4.0.3",
  35. "@graphql-codegen/near-operation-file-preset": "^3.0.0",
  36. "@graphql-codegen/typescript": "^4.0.9",
  37. "@graphql-codegen/typescript-operations": "^4.2.3",
  38. "@graphql-codegen/typescript-vue-apollo": "^4.1.1",
  39. "@pinia/testing": "^0.1.5",
  40. "@tailwindcss/container-queries": "^0.1.1",
  41. "@testing-library/jest-dom": "^6.5.0",
  42. "@testing-library/user-event": "^14.5.2",
  43. "@testing-library/vue": "^8.1.0",
  44. "@types/lodash-es": "^4.17.12",
  45. "@types/qrcode": "^1.5.5",
  46. "@types/rails__actioncable": "^6.1.11",
  47. "@types/sinonjs__fake-timers": "^8.1.5",
  48. "@types/ua-parser-js": "^0.7.39",
  49. "@types/uuid": "^10.0.0",
  50. "@typescript-eslint/eslint-plugin": "^8.7.0",
  51. "@typescript-eslint/parser": "^8.7.0",
  52. "@vitejs/plugin-vue": "^5.1.4",
  53. "@vue/compiler-dom": "^3.5.10",
  54. "@vue/eslint-config-prettier": "^9.0.0",
  55. "@vue/eslint-config-typescript": "^13.0.0",
  56. "@vue/server-renderer": "^3.5.10",
  57. "@vue/test-utils": "^2.4.6",
  58. "autoprefixer": "^10.4.20",
  59. "eslint": "^8.57.1",
  60. "eslint-config-airbnb-base": "^15.0.0",
  61. "eslint-config-prettier": "^9.1.0",
  62. "eslint-import-resolver-alias": "^1.1.2",
  63. "eslint-import-resolver-typescript": "^3.6.3",
  64. "eslint-plugin-import": "^2.30.0",
  65. "eslint-plugin-prettier": "^5.2.1",
  66. "eslint-plugin-prettier-vue": "^5.0.0",
  67. "eslint-plugin-security": "^2.1.1",
  68. "eslint-plugin-sonarjs": "^0.25.1",
  69. "eslint-plugin-vue": "^9.28.0",
  70. "eslint-plugin-vuejs-accessibility": "^2.4.1",
  71. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  72. "jsdom": "^25.0.1",
  73. "minimatch": "^10.0.1",
  74. "mock-apollo-client": "^1.3.1",
  75. "postcss": "^8.4.47",
  76. "postcss-html": "^1.7.0",
  77. "prettier": "3.3.3",
  78. "prettier-plugin-tailwindcss": "^0.6.8",
  79. "regenerator-runtime": "^0.14.1",
  80. "sass": "^1.79.4",
  81. "stylelint": "^16.9.0",
  82. "stylelint-config-prettier": "^9.0.5",
  83. "stylelint-config-recommended-vue": "^1.5.0",
  84. "stylelint-config-standard": "^36.0.1",
  85. "stylelint-config-standard-scss": "^13.1.0",
  86. "stylelint-prettier": "^5.0.2",
  87. "stylelint-scss": "^6.7.0",
  88. "svg-baker": "^1.7.0",
  89. "svgo": "^3.3.2",
  90. "tailwindcss": "^3.4.13",
  91. "tailwindcss-unimportant": "^2.1.1",
  92. "timezone-mock": "^1.3.6",
  93. "type-fest": "^4.26.1",
  94. "typescript": "^5.6.2",
  95. "vite": "^5.4.8",
  96. "vite-plugin-pwa": "^0.20.5",
  97. "vite-plugin-ruby": "^5.1.0",
  98. "vitest": "^2.1.1",
  99. "vitest-axe": "^0.1.0",
  100. "vue-tsc": "^2.1.6"
  101. },
  102. "dependencies": {
  103. "@apollo/client": "^3.11.8",
  104. "@formkit/core": "^1.6.7",
  105. "@formkit/dev": "^1.6.7",
  106. "@formkit/drag-and-drop": "^0.1.6",
  107. "@formkit/i18n": "^1.6.7",
  108. "@formkit/inputs": "^1.6.7",
  109. "@formkit/rules": "^1.6.7",
  110. "@formkit/tailwindcss": "^1.6.7",
  111. "@formkit/themes": "^1.6.7",
  112. "@formkit/utils": "^1.6.7",
  113. "@formkit/validation": "^1.6.7",
  114. "@formkit/vue": "^1.6.7",
  115. "@github/webauthn-json": "^2.1.1",
  116. "@rails/actioncable": "^7.2.100",
  117. "@sinonjs/fake-timers": "^13.0.2",
  118. "@tiptap/core": "^2.8.0",
  119. "@tiptap/extension-blockquote": "^2.8.0",
  120. "@tiptap/extension-bold": "^2.8.0",
  121. "@tiptap/extension-bullet-list": "^2.8.0",
  122. "@tiptap/extension-character-count": "^2.8.0",
  123. "@tiptap/extension-code": "^2.8.0",
  124. "@tiptap/extension-code-block": "^2.8.0",
  125. "@tiptap/extension-code-block-lowlight": "^2.8.0",
  126. "@tiptap/extension-color": "^2.8.0",
  127. "@tiptap/extension-document": "^2.8.0",
  128. "@tiptap/extension-hard-break": "^2.8.0",
  129. "@tiptap/extension-heading": "^2.8.0",
  130. "@tiptap/extension-image": "^2.8.0",
  131. "@tiptap/extension-italic": "^2.8.0",
  132. "@tiptap/extension-link": "^2.8.0",
  133. "@tiptap/extension-list-item": "^2.8.0",
  134. "@tiptap/extension-mention": "^2.8.0",
  135. "@tiptap/extension-ordered-list": "^2.8.0",
  136. "@tiptap/extension-paragraph": "^2.8.0",
  137. "@tiptap/extension-strike": "^2.8.0",
  138. "@tiptap/extension-table": "^2.8.0",
  139. "@tiptap/extension-table-cell": "^2.8.0",
  140. "@tiptap/extension-table-header": "^2.8.0",
  141. "@tiptap/extension-table-row": "^2.8.0",
  142. "@tiptap/extension-text": "^2.8.0",
  143. "@tiptap/extension-text-style": "^2.8.0",
  144. "@tiptap/extension-underline": "^2.8.0",
  145. "@tiptap/pm": "^2.8.0",
  146. "@tiptap/starter-kit": "^2.8.0",
  147. "@tiptap/suggestion": "^2.8.0",
  148. "@tiptap/vue-3": "^2.8.0",
  149. "@vue/apollo-composable": "^4.2.1",
  150. "@vue/runtime-core": "^3.5.10",
  151. "@vuepic/vue-datepicker": "^9.0.3",
  152. "@vueuse/core": "^11.1.0",
  153. "@vueuse/router": "^11.1.0",
  154. "@vueuse/shared": "^11.1.0",
  155. "async-mutex": "^0.5.0",
  156. "graphql": "^16.9.0",
  157. "graphql-ruby-client": "^1.14.0",
  158. "graphql-tag": "^2.12.6",
  159. "linkify-string": "^4.1.3",
  160. "linkifyjs": "^4.1.3",
  161. "lodash-es": "^4.17.21",
  162. "loglevel": "^1.9.2",
  163. "lowlight": "^3.1.0",
  164. "mitt": "^3.0.1",
  165. "pinia": "^2.2.2",
  166. "qrcode": "^1.5.4",
  167. "tippy.js": "^6.3.7",
  168. "tiptap-text-direction": "^0.3.1",
  169. "ts-essentials": "^10.0.2",
  170. "tslib": "^2.7.0",
  171. "ua-parser-js": "^1.0.39",
  172. "uuid": "^10.0.0",
  173. "vite-bundle-visualizer": "^1.2.1",
  174. "vue": "^3.5.10",
  175. "vue-advanced-cropper": "^2.8.9",
  176. "vue-easy-lightbox": "1.19.0",
  177. "vue-router": "^4.4.5",
  178. "vue3-draggable-resizable": "^1.6.5",
  179. "workbox-core": "^7.1.0",
  180. "workbox-precaching": "^7.1.0",
  181. "workbox-window": "^7.1.0"
  182. },
  183. "resolutions": {
  184. "loader-utils": "^3.3.1",
  185. "postcss": "^8.4.47",
  186. "stylelint-config-recommended": "^14.0.1"
  187. }
  188. }