package.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "private": true,
  3. "scripts": {
  4. "generate-graphql-api": "RAILS_ENV=development bundle exec rails generate zammad:graphql_introspection > app/graphql/graphql_introspection.json && npx graphql-codegen -c .graphql_code_generator.js",
  5. "generate-setting-types": "RAILS_ENV=development 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"
  21. },
  22. "packageManager": "yarn@1.22.21",
  23. "devDependencies": {
  24. "@faker-js/faker": "^8.3.1",
  25. "@graphql-codegen/cli": "^5.0.0",
  26. "@graphql-codegen/introspection": "^4.0.0",
  27. "@graphql-codegen/near-operation-file-preset": "^3.0.0",
  28. "@graphql-codegen/typescript": "^4.0.1",
  29. "@graphql-codegen/typescript-operations": "^4.0.1",
  30. "@graphql-codegen/typescript-vue-apollo": "^4.1.0",
  31. "@pinia/testing": "^0.1.3",
  32. "@testing-library/jest-dom": "^6.1.6",
  33. "@testing-library/user-event": "^14.5.2",
  34. "@testing-library/vue": "^8.0.1",
  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.7",
  40. "@typescript-eslint/eslint-plugin": "^6.17.0",
  41. "@typescript-eslint/parser": "^6.17.0",
  42. "@vitejs/plugin-vue": "^5.0.2",
  43. "@vue/eslint-config-prettier": "^9.0.0",
  44. "@vue/eslint-config-typescript": "^12.0.0",
  45. "@vue/test-utils": "^2.4.3",
  46. "autoprefixer": "^10.4.16",
  47. "eslint": "^8.56.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.2",
  54. "eslint-plugin-prettier-vue": "^5.0.0",
  55. "eslint-plugin-security": "^2.1.0",
  56. "eslint-plugin-sonarjs": "^0.23.0",
  57. "eslint-plugin-vue": "^9.19.2",
  58. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  59. "jsdom": "^23.0.1",
  60. "mock-apollo-client": "^1.2.1",
  61. "postcss": "^8.4.33",
  62. "postcss-html": "^1.5.0",
  63. "prettier": "3.1.1",
  64. "prettier-plugin-tailwindcss": "^0.5.11",
  65. "regenerator-runtime": "^0.14.1",
  66. "sass": "^1.69.7",
  67. "stylelint": "^16.1.0",
  68. "stylelint-config-prettier": "^9.0.5",
  69. "stylelint-config-recommended-vue": "^1.5.0",
  70. "stylelint-config-standard": "^36.0.0",
  71. "stylelint-config-standard-scss": "^12.0.0",
  72. "stylelint-prettier": "^5.0.0",
  73. "stylelint-scss": "^6.0.0",
  74. "svg-baker": "^1.7.0",
  75. "svgo": "^3.2.0",
  76. "tailwindcss": "^3.4.1",
  77. "timezone-mock": "^1.3.6",
  78. "type-fest": "^4.9.0",
  79. "typescript": "^5.3.3",
  80. "vite": "^5.0.10",
  81. "vite-plugin-pwa": "^0.17.4",
  82. "vite-plugin-ruby": "^5.0.0",
  83. "vitest": "^1.1.1",
  84. "vitest-axe": "^0.1.0",
  85. "vue-tsc": "^1.8.27"
  86. },
  87. "dependencies": {
  88. "@apollo/client": "^3.8.8",
  89. "@formkit/core": "^1.2.2",
  90. "@formkit/dev": "^1.2.2",
  91. "@formkit/i18n": "^1.2.2",
  92. "@formkit/inputs": "^1.2.2",
  93. "@formkit/rules": "^1.2.2",
  94. "@formkit/tailwindcss": "^1.2.2",
  95. "@formkit/themes": "^1.2.2",
  96. "@formkit/utils": "^1.2.2",
  97. "@formkit/validation": "^1.2.2",
  98. "@formkit/vue": "^1.2.2",
  99. "@github/webauthn-json": "^2.1.1",
  100. "@rails/actioncable": "^7.0.8",
  101. "@sinonjs/fake-timers": "^11.2.2",
  102. "@tiptap/core": "^2.1.13",
  103. "@tiptap/extension-blockquote": "^2.1.13",
  104. "@tiptap/extension-character-count": "^2.1.13",
  105. "@tiptap/extension-hard-break": "^2.1.13",
  106. "@tiptap/extension-image": "^2.1.13",
  107. "@tiptap/extension-link": "^2.1.13",
  108. "@tiptap/extension-list-item": "^2.1.13",
  109. "@tiptap/extension-mention": "^2.1.13",
  110. "@tiptap/extension-ordered-list": "^2.1.13",
  111. "@tiptap/extension-paragraph": "^2.1.13",
  112. "@tiptap/extension-strike": "^2.1.13",
  113. "@tiptap/extension-underline": "^2.1.13",
  114. "@tiptap/pm": "^2.1.13",
  115. "@tiptap/starter-kit": "^2.1.13",
  116. "@tiptap/suggestion": "^2.1.13",
  117. "@tiptap/vue-3": "^2.1.13",
  118. "@vue/apollo-composable": "^4.0.0-beta.12",
  119. "@vueuse/core": "^10.7.1",
  120. "@vueuse/router": "^10.7.1",
  121. "@vueuse/shared": "^10.7.1",
  122. "async-mutex": "^0.4.0",
  123. "daisyui": "^4.5.0",
  124. "flatpickr": "^4.6.13",
  125. "graphql": "^16.8.1",
  126. "graphql-ruby-client": "^1.12.1",
  127. "graphql-tag": "^2.12.6",
  128. "linkify-string": "^4.1.3",
  129. "linkifyjs": "^4.1.3",
  130. "lodash-es": "^4.17.21",
  131. "loglevel": "^1.8.1",
  132. "mitt": "^3.0.1",
  133. "pinia": "^2.1.7",
  134. "tippy.js": "^6.3.7",
  135. "tiptap-text-direction": "^0.3.0",
  136. "ua-parser-js": "^1.0.37",
  137. "uuid": "^9.0.1",
  138. "vue": "^3.3.13",
  139. "vue-advanced-cropper": "^2.8.8",
  140. "vue-easy-lightbox": "1.17.0",
  141. "vue-router": "^4.2.5",
  142. "vue3-draggable-resizable": "^1.6.5",
  143. "vuedraggable": "^4.1.0",
  144. "workbox-core": "^7.0.0",
  145. "workbox-precaching": "^7.0.0",
  146. "workbox-window": "^7.0.0"
  147. },
  148. "resolutions": {
  149. "loader-utils": "^3.2.1",
  150. "postcss": "^8.4.33",
  151. "stylelint-config-recommended": "^14.0.0"
  152. }
  153. }