package.json 7.4 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",
  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.8.0",
  31. "devDependencies": {
  32. "@faker-js/faker": "^8.4.1",
  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. "@testing-library/jest-dom": "^6.4.8",
  41. "@testing-library/user-event": "^14.5.2",
  42. "@testing-library/vue": "^8.1.0",
  43. "@types/lodash-es": "^4.17.12",
  44. "@types/qrcode": "^1.5.5",
  45. "@types/rails__actioncable": "^6.1.11",
  46. "@types/sinonjs__fake-timers": "^8.1.5",
  47. "@types/ua-parser-js": "^0.7.39",
  48. "@types/uuid": "^10.0.0",
  49. "@typescript-eslint/eslint-plugin": "^8.2.0",
  50. "@typescript-eslint/parser": "^8.2.0",
  51. "@vitejs/plugin-vue": "^5.1.2",
  52. "@vue/compiler-dom": "^3.4.38",
  53. "@vue/eslint-config-prettier": "^9.0.0",
  54. "@vue/eslint-config-typescript": "^13.0.0",
  55. "@vue/server-renderer": "^3.4.38",
  56. "@vue/test-utils": "^2.4.6",
  57. "autoprefixer": "^10.4.20",
  58. "eslint": "^8.57.0",
  59. "eslint-config-airbnb-base": "^15.0.0",
  60. "eslint-config-prettier": "^9.1.0",
  61. "eslint-import-resolver-alias": "^1.1.2",
  62. "eslint-import-resolver-typescript": "^3.6.1",
  63. "eslint-plugin-import": "^2.29.1",
  64. "eslint-plugin-prettier": "^5.2.1",
  65. "eslint-plugin-prettier-vue": "^5.0.0",
  66. "eslint-plugin-security": "^2.1.1",
  67. "eslint-plugin-sonarjs": "^0.25.1",
  68. "eslint-plugin-vue": "^9.27.0",
  69. "eslint-plugin-vuejs-accessibility": "^2.4.1",
  70. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  71. "jsdom": "^24.1.3",
  72. "minimatch": "^10.0.1",
  73. "mock-apollo-client": "^1.3.1",
  74. "postcss": "^8.4.41",
  75. "postcss-html": "^1.7.0",
  76. "prettier": "3.3.3",
  77. "prettier-plugin-tailwindcss": "^0.6.6",
  78. "regenerator-runtime": "^0.14.1",
  79. "sass": "^1.77.8",
  80. "stylelint": "^16.8.2",
  81. "stylelint-config-prettier": "^9.0.5",
  82. "stylelint-config-recommended-vue": "^1.5.0",
  83. "stylelint-config-standard": "^36.0.1",
  84. "stylelint-config-standard-scss": "^13.1.0",
  85. "stylelint-prettier": "^5.0.2",
  86. "stylelint-scss": "^6.5.1",
  87. "svg-baker": "^1.7.0",
  88. "svgo": "^3.3.2",
  89. "tailwindcss": "^3.4.10",
  90. "tailwindcss-unimportant": "^2.1.1",
  91. "timezone-mock": "^1.3.6",
  92. "type-fest": "^4.25.0",
  93. "typescript": "^5.5.4",
  94. "vite": "^5.4.2",
  95. "vite-plugin-pwa": "^0.20.1",
  96. "vite-plugin-ruby": "^5.0.0",
  97. "vitest": "^1.6.0",
  98. "vitest-axe": "^0.1.0",
  99. "vue-tsc": "^2.0.29"
  100. },
  101. "dependencies": {
  102. "@apollo/client": "^3.11.4",
  103. "@formkit/core": "^1.6.5",
  104. "@formkit/dev": "^1.6.5",
  105. "@formkit/drag-and-drop": "^0.1.6",
  106. "@formkit/i18n": "^1.6.5",
  107. "@formkit/inputs": "^1.6.5",
  108. "@formkit/rules": "^1.6.5",
  109. "@formkit/tailwindcss": "^1.6.5",
  110. "@formkit/themes": "^1.6.5",
  111. "@formkit/utils": "^1.6.5",
  112. "@formkit/validation": "^1.6.5",
  113. "@formkit/vue": "^1.6.5",
  114. "@github/webauthn-json": "^2.1.1",
  115. "@rails/actioncable": "^7.2.100",
  116. "@sinonjs/fake-timers": "^11.3.1",
  117. "@tiptap/core": "^2.6.6",
  118. "@tiptap/extension-blockquote": "^2.6.6",
  119. "@tiptap/extension-bold": "^2.6.6",
  120. "@tiptap/extension-bullet-list": "^2.6.6",
  121. "@tiptap/extension-character-count": "^2.6.6",
  122. "@tiptap/extension-code": "^2.6.6",
  123. "@tiptap/extension-code-block": "^2.6.6",
  124. "@tiptap/extension-code-block-lowlight": "^2.6.6",
  125. "@tiptap/extension-color": "^2.6.6",
  126. "@tiptap/extension-document": "^2.6.6",
  127. "@tiptap/extension-hard-break": "^2.6.6",
  128. "@tiptap/extension-heading": "^2.6.6",
  129. "@tiptap/extension-image": "^2.6.6",
  130. "@tiptap/extension-italic": "^2.6.6",
  131. "@tiptap/extension-link": "^2.6.6",
  132. "@tiptap/extension-list-item": "^2.6.6",
  133. "@tiptap/extension-mention": "^2.6.6",
  134. "@tiptap/extension-ordered-list": "^2.6.6",
  135. "@tiptap/extension-paragraph": "^2.6.6",
  136. "@tiptap/extension-strike": "^2.6.6",
  137. "@tiptap/extension-table": "^2.6.6",
  138. "@tiptap/extension-table-cell": "^2.6.6",
  139. "@tiptap/extension-table-header": "^2.6.6",
  140. "@tiptap/extension-table-row": "^2.6.6",
  141. "@tiptap/extension-text": "^2.6.6",
  142. "@tiptap/extension-text-style": "^2.6.6",
  143. "@tiptap/extension-underline": "^2.6.6",
  144. "@tiptap/pm": "^2.6.6",
  145. "@tiptap/starter-kit": "^2.6.6",
  146. "@tiptap/suggestion": "^2.6.6",
  147. "@tiptap/vue-3": "^2.6.6",
  148. "@vue/apollo-composable": "^4.0.2",
  149. "@vue/runtime-core": "^3.4.38",
  150. "@vuepic/vue-datepicker": "^9.0.1",
  151. "@vueuse/core": "^10.11.0",
  152. "@vueuse/router": "^10.11.0",
  153. "@vueuse/shared": "^10.11.0",
  154. "async-mutex": "^0.5.0",
  155. "graphql": "^16.9.0",
  156. "graphql-ruby-client": "^1.14.0",
  157. "graphql-tag": "^2.12.6",
  158. "linkify-string": "^4.1.3",
  159. "linkifyjs": "^4.1.3",
  160. "lodash-es": "^4.17.21",
  161. "loglevel": "^1.9.1",
  162. "lowlight": "^3.1.0",
  163. "mitt": "^3.0.1",
  164. "pinia": "^2.2.0",
  165. "qrcode": "^1.5.4",
  166. "tippy.js": "^6.3.7",
  167. "tiptap-text-direction": "^0.3.1",
  168. "ts-essentials": "^10.0.2",
  169. "tslib": "^2.7.0",
  170. "ua-parser-js": "^1.0.38",
  171. "uuid": "^10.0.0",
  172. "vite-bundle-visualizer": "^1.2.1",
  173. "vue": "^3.4.38",
  174. "vue-advanced-cropper": "^2.8.9",
  175. "vue-easy-lightbox": "1.19.0",
  176. "vue-router": "^4.4.2",
  177. "vue3-draggable-resizable": "^1.6.5",
  178. "workbox-core": "^7.1.0",
  179. "workbox-precaching": "^7.1.0",
  180. "workbox-window": "^7.1.0"
  181. },
  182. "resolutions": {
  183. "loader-utils": "^3.3.1",
  184. "postcss": "^8.4.41",
  185. "stylelint-config-recommended": "^14.0.1",
  186. "prosemirror-model": "1.22.3",
  187. "prosemirror-state": "1.4.3",
  188. "prosemirror-transform": "1.10.0",
  189. "prosemirror-view": "1.34.0"
  190. }
  191. }