package.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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 --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. "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.3.1",
  28. "@graphql-codegen/introspection": "^3.0.1",
  29. "@graphql-codegen/near-operation-file-preset": "^2.5.0",
  30. "@graphql-codegen/typescript": "^3.0.4",
  31. "@graphql-codegen/typescript-operations": "^3.0.4",
  32. "@graphql-codegen/typescript-vue-apollo": "^3.3.7",
  33. "@histoire/plugin-vue": "^0.16.1",
  34. "@pinia/testing": "^0.0.16",
  35. "@testing-library/jest-dom": "^5.16.5",
  36. "@testing-library/user-event": "^14.4.3",
  37. "@testing-library/vue": "^7.0.0",
  38. "@types/lodash-es": "^4.17.7",
  39. "@types/rails__actioncable": "^6.1.6",
  40. "@types/ua-parser-js": "^0.7.36",
  41. "@types/uuid": "^9.0.1",
  42. "@typescript-eslint/eslint-plugin": "^5.59.2",
  43. "@typescript-eslint/parser": "^5.59.2",
  44. "@vitejs/plugin-vue": "^4.2.1",
  45. "@vue/eslint-config-prettier": "^7.1.0",
  46. "@vue/eslint-config-typescript": "^11.0.3",
  47. "@vue/test-utils": "^2.3.2",
  48. "autoprefixer": "^10.4.14",
  49. "eslint": "^8.40.0",
  50. "eslint-config-airbnb-base": "^15.0.0",
  51. "eslint-config-prettier": "^8.8.0",
  52. "eslint-import-resolver-alias": "^1.1.2",
  53. "eslint-import-resolver-typescript": "^3.5.5",
  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.19.0",
  59. "eslint-plugin-vue": "^9.11.1",
  60. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  61. "histoire": "^0.16.1",
  62. "jsdom": "^22.0.0",
  63. "mock-apollo-client": "^1.2.1",
  64. "postcss": "^8.4.23",
  65. "postcss-html": "^1.5.0",
  66. "prettier": "2.8.8",
  67. "prettier-plugin-tailwindcss": "^0.2.8",
  68. "regenerator-runtime": "^0.13.11",
  69. "sass": "^1.62.1",
  70. "stylelint": "^15.6.1",
  71. "stylelint-config-prettier": "^9.0.5",
  72. "stylelint-config-recommended-vue": "^1.4.0",
  73. "stylelint-config-standard": "^31.0.0",
  74. "stylelint-config-standard-scss": "^7.0.1",
  75. "stylelint-prettier": "^3.0.0",
  76. "stylelint-scss": "^4.7.0",
  77. "svg-baker": "^1.7.0",
  78. "svgo": "^3.0.2",
  79. "tailwindcss": "^3.3.2",
  80. "timezone-mock": "^1.3.6",
  81. "ts-node": "^10.9.1",
  82. "type-fest": "^3.10.0",
  83. "typescript": "^5.0.4",
  84. "vite": "^4.3.5",
  85. "vite-plugin-pwa": "^0.14.7",
  86. "vite-plugin-ruby": "^3.2.2",
  87. "vitest": "^0.31.0",
  88. "vitest-axe": "^0.1.0",
  89. "vue-tsc": "^1.6.5"
  90. },
  91. "dependencies": {
  92. "@apollo/client": "^3.7.14",
  93. "@formkit/core": "^0.17.2",
  94. "@formkit/dev": "^0.17.2",
  95. "@formkit/i18n": "^0.17.2",
  96. "@formkit/inputs": "^0.17.2",
  97. "@formkit/rules": "^0.17.2",
  98. "@formkit/tailwindcss": "^0.17.2",
  99. "@formkit/themes": "^0.17.2",
  100. "@formkit/utils": "^0.17.2",
  101. "@formkit/validation": "^0.17.2",
  102. "@formkit/vue": "^0.17.2",
  103. "@rails/actioncable": "6.1.7",
  104. "@tiptap/core": "^2.0.3",
  105. "@tiptap/extension-blockquote": "^2.0.3",
  106. "@tiptap/extension-character-count": "^2.0.3",
  107. "@tiptap/extension-hard-break": "^2.0.3",
  108. "@tiptap/extension-image": "^2.0.3",
  109. "@tiptap/extension-link": "^2.0.3",
  110. "@tiptap/extension-list-item": "^2.0.3",
  111. "@tiptap/extension-mention": "^2.0.3",
  112. "@tiptap/extension-ordered-list": "^2.0.3",
  113. "@tiptap/extension-paragraph": "^2.0.3",
  114. "@tiptap/extension-strike": "^2.0.3",
  115. "@tiptap/extension-underline": "^2.0.3",
  116. "@tiptap/pm": "^2.0.3",
  117. "@tiptap/starter-kit": "^2.0.3",
  118. "@tiptap/suggestion": "^2.0.3",
  119. "@tiptap/vue-3": "^2.0.3",
  120. "@vue/apollo-composable": "^4.0.0-beta.5",
  121. "@vueuse/core": "^10.1.2",
  122. "@vueuse/router": "^10.1.2",
  123. "@vueuse/shared": "^10.1.2",
  124. "async-mutex": "^0.4.0",
  125. "flatpickr": "^4.6.13",
  126. "graphql": "^16.6.0",
  127. "graphql-ruby-client": "^1.11.7",
  128. "graphql-tag": "^2.12.6",
  129. "linkify-string": "^4.1.1",
  130. "linkifyjs": "^4.1.1",
  131. "lodash-es": "^4.17.21",
  132. "loglevel": "^1.8.1",
  133. "mitt": "^3.0.0",
  134. "pinia": "^2.1.3",
  135. "tippy.js": "^6.3.7",
  136. "tiptap-text-direction": "^0.3.0",
  137. "ua-parser-js": "^1.0.35",
  138. "uuid": "^9.0.0",
  139. "vue": "^3.3.4",
  140. "vue-advanced-cropper": "^2.8.8",
  141. "vue-easy-lightbox": "1.16.0",
  142. "vue-router": "^4.2.1",
  143. "vue3-draggable-resizable": "^1.6.5",
  144. "vuedraggable": "^4.1.0",
  145. "workbox-core": "^6.5.4",
  146. "workbox-precaching": "^6.5.4",
  147. "workbox-window": "^6.5.4"
  148. },
  149. "resolutions": {
  150. "loader-utils": "^3.2.1",
  151. "postcss": "^8.4.23",
  152. "stylelint-config-recommended": "^10.0.1"
  153. }
  154. }