package.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 ./.cypress cypress open --component --project ../ --config-file .cypress/cypress.config.mjs",
  15. "test:ci:ct": "CI=true yarn --cwd ./.cypress cypress run --component --project ../ --config-file .cypress/cypress.config.mjs --browser electron",
  16. "cypress:snapshots": "sh .cypress/visual-regression/snapshots.sh",
  17. "cypress:install": "yarn --cwd ./.cypress install"
  18. },
  19. "engines": {
  20. "node": ">=18.12.0"
  21. },
  22. "packageManager": "yarn@1.22.22",
  23. "devDependencies": {
  24. "@faker-js/faker": "^8.4.1",
  25. "@graphql-codegen/cli": "^5.0.2",
  26. "@graphql-codegen/introspection": "^4.0.3",
  27. "@graphql-codegen/near-operation-file-preset": "^3.0.0",
  28. "@graphql-codegen/typescript": "^4.0.6",
  29. "@graphql-codegen/typescript-operations": "^4.2.0",
  30. "@graphql-codegen/typescript-vue-apollo": "^4.1.1",
  31. "@pinia/testing": "^0.1.3",
  32. "@testing-library/jest-dom": "^6.4.2",
  33. "@testing-library/user-event": "^14.5.2",
  34. "@testing-library/vue": "^8.0.3",
  35. "@types/lodash-es": "^4.17.12",
  36. "@types/rails__actioncable": "^6.1.10",
  37. "@types/sinonjs__fake-timers": "^8.1.5",
  38. "@types/ua-parser-js": "^0.7.39",
  39. "@types/uuid": "^9.0.8",
  40. "@typescript-eslint/eslint-plugin": "^7.3.1",
  41. "@typescript-eslint/parser": "^7.3.1",
  42. "@vitejs/plugin-vue": "^5.0.4",
  43. "@vue/eslint-config-prettier": "^9.0.0",
  44. "@vue/eslint-config-typescript": "^13.0.0",
  45. "@vue/test-utils": "^2.4.5",
  46. "autoprefixer": "^10.4.18",
  47. "eslint": "^8.57.0",
  48. "eslint-config-airbnb-base": "^15.0.0",
  49. "eslint-config-prettier": "^9.1.0",
  50. "eslint-import-resolver-alias": "^1.1.2",
  51. "eslint-import-resolver-typescript": "^3.6.1",
  52. "eslint-plugin-import": "^2.29.1",
  53. "eslint-plugin-prettier": "^5.1.3",
  54. "eslint-plugin-prettier-vue": "^5.0.0",
  55. "eslint-plugin-security": "^2.1.1",
  56. "eslint-plugin-sonarjs": "^0.24.0",
  57. "eslint-plugin-vue": "^9.23.0",
  58. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  59. "jsdom": "^24.0.0",
  60. "minimatch": "^9.0.3",
  61. "mock-apollo-client": "^1.2.1",
  62. "postcss": "^8.4.36",
  63. "postcss-html": "^1.6.0",
  64. "prettier": "3.2.5",
  65. "prettier-plugin-tailwindcss": "^0.5.12",
  66. "regenerator-runtime": "^0.14.1",
  67. "sass": "^1.72.0",
  68. "stylelint": "^16.2.1",
  69. "stylelint-config-prettier": "^9.0.5",
  70. "stylelint-config-recommended-vue": "^1.5.0",
  71. "stylelint-config-standard": "^36.0.0",
  72. "stylelint-config-standard-scss": "^13.0.0",
  73. "stylelint-prettier": "^5.0.0",
  74. "stylelint-scss": "^6.2.1",
  75. "svg-baker": "^1.7.0",
  76. "svgo": "^3.2.0",
  77. "tailwindcss": "^3.4.1",
  78. "tailwindcss-unimportant": "^2.1.1",
  79. "timezone-mock": "^1.3.6",
  80. "type-fest": "^4.12.0",
  81. "typescript": "^5.4.2",
  82. "vite": "^5.2.6",
  83. "vite-plugin-pwa": "^0.19.7",
  84. "vite-plugin-ruby": "^5.0.0",
  85. "vitest": "^1.4.0",
  86. "vitest-axe": "^0.1.0",
  87. "vue-tsc": "^2.0.6"
  88. },
  89. "dependencies": {
  90. "@apollo/client": "^3.9.9",
  91. "@formkit/core": "^1.6.0",
  92. "@formkit/dev": "^1.6.0",
  93. "@formkit/i18n": "^1.6.0",
  94. "@formkit/inputs": "^1.6.0",
  95. "@formkit/rules": "^1.6.0",
  96. "@formkit/tailwindcss": "^1.6.0",
  97. "@formkit/themes": "^1.6.0",
  98. "@formkit/utils": "^1.6.0",
  99. "@formkit/validation": "^1.6.0",
  100. "@formkit/vue": "^1.6.0",
  101. "@github/webauthn-json": "^2.1.1",
  102. "@rails/actioncable": "^7.0.8",
  103. "@sinonjs/fake-timers": "^11.2.2",
  104. "@tiptap/core": "^2.2.4",
  105. "@tiptap/extension-blockquote": "^2.2.4",
  106. "@tiptap/extension-character-count": "^2.2.4",
  107. "@tiptap/extension-hard-break": "^2.2.4",
  108. "@tiptap/extension-image": "^2.2.4",
  109. "@tiptap/extension-link": "^2.2.4",
  110. "@tiptap/extension-list-item": "^2.2.4",
  111. "@tiptap/extension-mention": "^2.2.4",
  112. "@tiptap/extension-ordered-list": "^2.2.4",
  113. "@tiptap/extension-paragraph": "^2.2.4",
  114. "@tiptap/extension-strike": "^2.2.4",
  115. "@tiptap/extension-underline": "^2.2.4",
  116. "@tiptap/pm": "^2.2.4",
  117. "@tiptap/starter-kit": "^2.2.4",
  118. "@tiptap/suggestion": "^2.2.4",
  119. "@tiptap/vue-3": "^2.2.4",
  120. "@vue/apollo-composable": "^4.0.2",
  121. "@vueuse/core": "^10.9.0",
  122. "@vueuse/router": "^10.9.0",
  123. "@vueuse/shared": "^10.9.0",
  124. "async-mutex": "^0.5.0",
  125. "daisyui": "^4.7.3",
  126. "flatpickr": "^4.6.13",
  127. "graphql": "^16.8.1",
  128. "graphql-ruby-client": "^1.13.3",
  129. "graphql-tag": "^2.12.6",
  130. "linkify-string": "^4.1.3",
  131. "linkifyjs": "^4.1.3",
  132. "lodash-es": "^4.17.21",
  133. "loglevel": "^1.9.1",
  134. "mitt": "^3.0.1",
  135. "pinia": "^2.1.7",
  136. "tippy.js": "^6.3.7",
  137. "tiptap-text-direction": "^0.3.1",
  138. "ua-parser-js": "^1.0.37",
  139. "uuid": "^9.0.1",
  140. "vue": "^3.4.21",
  141. "vue-advanced-cropper": "^2.8.8",
  142. "vue-easy-lightbox": "1.19.0",
  143. "vue-router": "^4.3.0",
  144. "vue3-draggable-resizable": "^1.6.5",
  145. "vuedraggable": "^4.1.0",
  146. "workbox-core": "^7.0.0",
  147. "workbox-precaching": "^7.0.0",
  148. "workbox-window": "^7.0.0"
  149. },
  150. "resolutions": {
  151. "loader-utils": "^3.2.1",
  152. "postcss": "^8.4.36",
  153. "stylelint-config-recommended": "^14.0.0",
  154. "prosemirror-model": "1.19.4",
  155. "prosemirror-state": "1.4.3",
  156. "prosemirror-transform": "1.8.0",
  157. "prosemirror-view": "1.33.3"
  158. }
  159. }