package.json 6.3 KB

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