package.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. {
  2. "private": true,
  3. "scripts": {
  4. "generate-graphql-api": "bundle exec rails generate zammad:graphql_introspection > app/graphql/graphql_introspection.json && npx 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": "yarn lint:ts && yarn lint:js app/frontend/ .eslint-plugin-zammad/ && yarn lint:css",
  10. "lint:ts": "vue-tsc --noEmit",
  11. "lint:js": "eslint --cache --cache-location ./tmp/eslintcache.js --cache-strategy content -c .eslintrc.js --ext .js,.ts,.vue",
  12. "lint:js:fix": "yarn lint:js app/frontend/ .eslint-plugin-zammad/ --fix",
  13. "lint:css": "stylelint **/*.{css,vue,scss}",
  14. "lint:css:fix": "yarn lint:css --fix",
  15. "test": "VTL_SKIP_AUTO_CLEANUP=true TZ=utc vitest",
  16. "test:ct": "CY_OPEN=true yarn --cwd ./.dev/cypress cypress open --component --project ../../ --config-file .dev/cypress/cypress.config.mjs",
  17. "test:ci:ct": "CI=true yarn --cwd ./.dev/cypress cypress run --component --project ../../ --config-file .dev/cypress/cypress.config.mjs --browser electron",
  18. "cypress:snapshots": "sh .dev/cypress/visual-regression/snapshots.sh",
  19. "cypress:install": "yarn --cwd ./.dev/cypress install",
  20. "analyse:vite-bundle": "npx vite-bundle-visualizer",
  21. "generate:component": "cd .dev/hygen; npx hygen component new"
  22. },
  23. "engines": {
  24. "node": ">=18.12.0"
  25. },
  26. "packageManager": "yarn@1.22.22",
  27. "devDependencies": {
  28. "@faker-js/faker": "^8.4.1",
  29. "@graphql-codegen/cli": "^5.0.2",
  30. "@graphql-codegen/introspection": "^4.0.3",
  31. "@graphql-codegen/near-operation-file-preset": "^3.0.0",
  32. "@graphql-codegen/typescript": "^4.0.7",
  33. "@graphql-codegen/typescript-operations": "^4.2.1",
  34. "@graphql-codegen/typescript-vue-apollo": "^4.1.1",
  35. "@pinia/testing": "^0.1.3",
  36. "@testing-library/jest-dom": "^6.4.6",
  37. "@testing-library/user-event": "^14.5.2",
  38. "@testing-library/vue": "^8.1.0",
  39. "@types/lodash-es": "^4.17.12",
  40. "@types/qrcode": "^1.5.5",
  41. "@types/rails__actioncable": "^6.1.10",
  42. "@types/sinonjs__fake-timers": "^8.1.5",
  43. "@types/ua-parser-js": "^0.7.39",
  44. "@types/uuid": "^10.0.0",
  45. "@typescript-eslint/eslint-plugin": "^7.13.1",
  46. "@typescript-eslint/parser": "^7.13.1",
  47. "@vitejs/plugin-vue": "^5.0.5",
  48. "@vue/eslint-config-prettier": "^9.0.0",
  49. "@vue/eslint-config-typescript": "^13.0.0",
  50. "@vue/test-utils": "^2.4.6",
  51. "autoprefixer": "^10.4.19",
  52. "eslint": "^8.57.0",
  53. "eslint-config-airbnb-base": "^15.0.0",
  54. "eslint-config-prettier": "^9.1.0",
  55. "eslint-import-resolver-alias": "^1.1.2",
  56. "eslint-import-resolver-typescript": "^3.6.1",
  57. "eslint-plugin-import": "^2.29.1",
  58. "eslint-plugin-prettier": "^5.1.3",
  59. "eslint-plugin-prettier-vue": "^5.0.0",
  60. "eslint-plugin-security": "^2.1.1",
  61. "eslint-plugin-sonarjs": "^0.25.1",
  62. "eslint-plugin-vue": "^9.26.0",
  63. "eslint-plugin-vuejs-accessibility": "^2.3.1",
  64. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  65. "jsdom": "^24.1.0",
  66. "minimatch": "^9.0.4",
  67. "mock-apollo-client": "^1.3.1",
  68. "postcss": "^8.4.38",
  69. "postcss-html": "^1.7.0",
  70. "prettier": "3.3.2",
  71. "prettier-plugin-tailwindcss": "^0.6.5",
  72. "regenerator-runtime": "^0.14.1",
  73. "sass": "^1.77.6",
  74. "stylelint": "^16.6.1",
  75. "stylelint-config-prettier": "^9.0.5",
  76. "stylelint-config-recommended-vue": "^1.5.0",
  77. "stylelint-config-standard": "^36.0.1",
  78. "stylelint-config-standard-scss": "^13.1.0",
  79. "stylelint-prettier": "^5.0.0",
  80. "stylelint-scss": "^6.3.2",
  81. "svg-baker": "^1.7.0",
  82. "svgo": "^3.3.2",
  83. "tailwindcss": "^3.4.4",
  84. "tailwindcss-unimportant": "^2.1.1",
  85. "timezone-mock": "^1.3.6",
  86. "type-fest": "^4.20.1",
  87. "typescript": "^5.5.2",
  88. "vite": "^5.3.1",
  89. "vite-plugin-pwa": "^0.20.0",
  90. "vite-plugin-ruby": "^5.0.0",
  91. "vitest": "^1.6.0",
  92. "vitest-axe": "^0.1.0",
  93. "vue-tsc": "^2.0.22"
  94. },
  95. "dependencies": {
  96. "@apollo/client": "^3.10.6",
  97. "@formkit/core": "^1.6.5",
  98. "@formkit/dev": "^1.6.5",
  99. "@formkit/i18n": "^1.6.5",
  100. "@formkit/inputs": "^1.6.5",
  101. "@formkit/rules": "^1.6.5",
  102. "@formkit/tailwindcss": "^1.6.5",
  103. "@formkit/themes": "^1.6.5",
  104. "@formkit/utils": "^1.6.5",
  105. "@formkit/validation": "^1.6.5",
  106. "@formkit/vue": "^1.6.5",
  107. "@github/webauthn-json": "^2.1.1",
  108. "@rails/actioncable": "^7.0.8",
  109. "@sinonjs/fake-timers": "^11.2.2",
  110. "@tiptap/core": "^2.4.0",
  111. "@tiptap/extension-blockquote": "^2.4.0",
  112. "@tiptap/extension-bold": "^2.4.0",
  113. "@tiptap/extension-bullet-list": "^2.4.0",
  114. "@tiptap/extension-character-count": "^2.4.0",
  115. "@tiptap/extension-code": "^2.4.0",
  116. "@tiptap/extension-code-block": "^2.4.0",
  117. "@tiptap/extension-code-block-lowlight": "^2.4.0",
  118. "@tiptap/extension-color": "^2.4.0",
  119. "@tiptap/extension-document": "^2.4.0",
  120. "@tiptap/extension-hard-break": "^2.4.0",
  121. "@tiptap/extension-heading": "^2.4.0",
  122. "@tiptap/extension-image": "^2.4.0",
  123. "@tiptap/extension-italic": "^2.4.0",
  124. "@tiptap/extension-link": "^2.4.0",
  125. "@tiptap/extension-list-item": "^2.4.0",
  126. "@tiptap/extension-mention": "^2.4.0",
  127. "@tiptap/extension-ordered-list": "^2.4.0",
  128. "@tiptap/extension-paragraph": "^2.4.0",
  129. "@tiptap/extension-strike": "^2.4.0",
  130. "@tiptap/extension-table": "^2.4.0",
  131. "@tiptap/extension-table-cell": "^2.4.0",
  132. "@tiptap/extension-table-header": "^2.4.0",
  133. "@tiptap/extension-table-row": "^2.4.0",
  134. "@tiptap/extension-text": "^2.4.0",
  135. "@tiptap/extension-text-style": "^2.4.0",
  136. "@tiptap/extension-underline": "^2.4.0",
  137. "@tiptap/pm": "^2.4.0",
  138. "@tiptap/starter-kit": "^2.4.0",
  139. "@tiptap/suggestion": "^2.4.0",
  140. "@tiptap/vue-3": "^2.4.0",
  141. "@vue/apollo-composable": "^4.0.2",
  142. "@vuepic/vue-datepicker": "^8.8.0",
  143. "@vueuse/core": "^10.11.0",
  144. "@vueuse/router": "^10.11.0",
  145. "@vueuse/shared": "^10.11.0",
  146. "async-mutex": "^0.5.0",
  147. "graphql": "^16.9.0",
  148. "graphql-ruby-client": "^1.13.3",
  149. "graphql-tag": "^2.12.6",
  150. "linkify-string": "^4.1.3",
  151. "linkifyjs": "^4.1.3",
  152. "lodash-es": "^4.17.21",
  153. "loglevel": "^1.9.1",
  154. "lowlight": "^3.1.0",
  155. "mitt": "^3.0.1",
  156. "pinia": "^2.1.7",
  157. "qrcode": "^1.5.3",
  158. "tippy.js": "^6.3.7",
  159. "tiptap-text-direction": "^0.3.1",
  160. "ua-parser-js": "^1.0.38",
  161. "uuid": "^10.0.0",
  162. "vite-bundle-visualizer": "^1.2.1",
  163. "vue": "^3.4.30",
  164. "vue-advanced-cropper": "^2.8.9",
  165. "vue-easy-lightbox": "1.19.0",
  166. "vue-router": "^4.4.0",
  167. "vue3-draggable-resizable": "^1.6.5",
  168. "vuedraggable": "^4.1.0",
  169. "workbox-core": "^7.1.0",
  170. "workbox-precaching": "^7.1.0",
  171. "workbox-window": "^7.1.0"
  172. },
  173. "resolutions": {
  174. "loader-utils": "^3.3.1",
  175. "postcss": "^8.4.38",
  176. "stylelint-config-recommended": "^14.0.1",
  177. "prosemirror-model": "1.21.1",
  178. "prosemirror-state": "1.4.3",
  179. "prosemirror-transform": "1.9.0",
  180. "prosemirror-view": "1.33.8"
  181. }
  182. }