package.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "private": true,
  3. "scripts": {
  4. "generate-graphql-api": "RAILS_ENV=development bundle exec rails generate zammad:graphql_introspection > tmp/graphql_introspection.json && npx graphql-codegen -c .graphql_code_generator.yml && rm tmp/graphql_introspection.json",
  5. "dev": "RAILS_ENV=development forego start -f Procfile.dev",
  6. "dev:https": "VITE_RUBY_HTTPS=true RAILS_ENV=development forego start -f Procfile.dev-https",
  7. "https:generate": "sh contrib/ssl/generate-ssl.sh",
  8. "i18n": "rails generate zammad:translation_catalog",
  9. "lint": "vue-tsc --noEmit && eslint --cache --cache-location ./tmp/eslintcache.js -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. "postinstall": "node script/fix-node-modules.mjs",
  19. "story": "histoire dev",
  20. "story:build": "HISTOIRE_BUILD=1 histoire build"
  21. },
  22. "engines": {
  23. "node": ">=16"
  24. },
  25. "packageManager": "yarn@1.22.19",
  26. "devDependencies": {
  27. "@graphql-codegen/cli": "^3.0.0",
  28. "@graphql-codegen/introspection": "^3.0.0",
  29. "@graphql-codegen/near-operation-file-preset": "^2.5.0",
  30. "@graphql-codegen/typescript": "^3.0.0",
  31. "@graphql-codegen/typescript-operations": "^3.0.0",
  32. "@graphql-codegen/typescript-vue-apollo": "^3.3.7",
  33. "@histoire/plugin-vue": "^0.14.2",
  34. "@pinia/testing": "^0.0.14",
  35. "@tailwindcss/line-clamp": "^0.4.2",
  36. "@testing-library/jest-dom": "^5.16.5",
  37. "@testing-library/user-event": "^14.4.3",
  38. "@testing-library/vue": "^6.6.1",
  39. "@types/lodash-es": "^4.17.6",
  40. "@types/rails__actioncable": "^6.1.6",
  41. "@types/ua-parser-js": "^0.7.36",
  42. "@types/uuid": "^9.0.0",
  43. "@typescript-eslint/eslint-plugin": "^5.51.0",
  44. "@typescript-eslint/parser": "^5.51.0",
  45. "@vitejs/plugin-vue": "^4.0.0",
  46. "@vue/eslint-config-prettier": "^7.0.0",
  47. "@vue/eslint-config-typescript": "^11.0.2",
  48. "@vue/test-utils": "^2.2.10",
  49. "autoprefixer": "^10.4.13",
  50. "eslint": "^8.33.0",
  51. "eslint-config-airbnb-base": "^15.0.0",
  52. "eslint-config-prettier": "^8.6.0",
  53. "eslint-import-resolver-alias": "^1.1.2",
  54. "eslint-plugin-import": "^2.27.5",
  55. "eslint-plugin-prettier": "^4.2.1",
  56. "eslint-plugin-prettier-vue": "^4.2.0",
  57. "eslint-plugin-security": "^1.7.1",
  58. "eslint-plugin-sonarjs": "^0.18.0",
  59. "eslint-plugin-vue": "^9.9.0",
  60. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  61. "histoire": "^0.14.2",
  62. "jsdom": "^21.1.0",
  63. "mock-apollo-client": "^1.2.1",
  64. "postcss": "^8.4.21",
  65. "postcss-html": "^1.5.0",
  66. "prettier": "2.8.4",
  67. "prettier-plugin-tailwindcss": "^0.2.2",
  68. "regenerator-runtime": "^0.13.11",
  69. "sass": "^1.58.0",
  70. "stylelint": "^14.16.1",
  71. "stylelint-config-prettier": "^9.0.5",
  72. "stylelint-config-recommended-vue": "^1.4.0",
  73. "stylelint-config-standard": "^29.0.0",
  74. "stylelint-config-standard-scss": "^6.1.0",
  75. "stylelint-prettier": "^2.0.0",
  76. "stylelint-scss": "^4.4.0",
  77. "tailwindcss": "^3.2.6",
  78. "timezone-mock": "^1.3.6",
  79. "ts-node": "^10.9.1",
  80. "type-fest": "^3.5.7",
  81. "typescript": "^4.9.5",
  82. "vite": "^4.0.4",
  83. "vite-plugin-pwa": "^0.14.1",
  84. "vite-plugin-ruby": "^3.1.3",
  85. "vite-plugin-svg-icons": "^2.0.1",
  86. "vitest": "^0.28.4",
  87. "vitest-axe": "^0.1.0",
  88. "vue-tsc": "^1.0.24"
  89. },
  90. "dependencies": {
  91. "@apollo/client": "^3.7.7",
  92. "@formkit/core": "^1.0.0-beta.13-c578106",
  93. "@formkit/dev": "^1.0.0-beta.13-c578106",
  94. "@formkit/i18n": "^1.0.0-beta.13-c578106",
  95. "@formkit/inputs": "^1.0.0-beta.13-c578106",
  96. "@formkit/rules": "^1.0.0-beta.13-c578106",
  97. "@formkit/tailwindcss": "^1.0.0-beta.13-c578106",
  98. "@formkit/themes": "^1.0.0-beta.13-c578106",
  99. "@formkit/utils": "^1.0.0-beta.13-c578106",
  100. "@formkit/validation": "^1.0.0-beta.13-c578106",
  101. "@formkit/vue": "^1.0.0-beta.13-c578106",
  102. "@rails/actioncable": "6.1.7",
  103. "@tiptap/core": "^2.0.0-beta.217",
  104. "@tiptap/extension-blockquote": "^2.0.0-beta.217",
  105. "@tiptap/extension-character-count": "^2.0.0-beta.217",
  106. "@tiptap/extension-image": "^2.0.0-beta.217",
  107. "@tiptap/extension-link": "^2.0.0-beta.217",
  108. "@tiptap/extension-list-item": "^2.0.0-beta.217",
  109. "@tiptap/extension-mention": "^2.0.0-beta.217",
  110. "@tiptap/extension-ordered-list": "^2.0.0-beta.217",
  111. "@tiptap/extension-paragraph": "^2.0.0-beta.217",
  112. "@tiptap/extension-strike": "^2.0.0-beta.217",
  113. "@tiptap/extension-underline": "^2.0.0-beta.217",
  114. "@tiptap/pm": "^2.0.0-beta.217",
  115. "@tiptap/starter-kit": "^2.0.0-beta.217",
  116. "@tiptap/suggestion": "^2.0.0-beta.217",
  117. "@tiptap/vue-3": "^2.0.0-beta.217",
  118. "@vue/apollo-composable": "^4.0.0-beta.2",
  119. "@vueuse/core": "^9.12.0",
  120. "@vueuse/router": "^9.12.0",
  121. "@vueuse/shared": "^9.12.0",
  122. "async-mutex": "^0.4.0",
  123. "flatpickr": "^4.6.13",
  124. "graphql": "^16.6.0",
  125. "graphql-ruby-client": "^1.11.5",
  126. "graphql-tag": "^2.12.6",
  127. "linkify-string": "^4.1.0",
  128. "linkifyjs": "^4.1.0",
  129. "lodash-es": "^4.17.21",
  130. "loglevel": "^1.8.1",
  131. "mitt": "^3.0.0",
  132. "pinia": "^2.0.30",
  133. "tippy.js": "^6.3.7",
  134. "ua-parser-js": "^1.0.33",
  135. "uuid": "^9.0.0",
  136. "vue": "^3.2.47",
  137. "vue-advanced-cropper": "^2.8.8",
  138. "vue-easy-lightbox": "1.12.0",
  139. "vue-router": "^4.1.6",
  140. "vue3-draggable-resizable": "^1.6.5",
  141. "vuedraggable": "^4.1.0",
  142. "workbox-core": "^6.5.4",
  143. "workbox-precaching": "^6.5.4",
  144. "workbox-window": "^6.5.4"
  145. },
  146. "resolutions": {
  147. "loader-utils": "^3.2.1",
  148. "postcss": "^8.4.21"
  149. }
  150. }