package.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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.ts",
  15. "test:ci:ct": "CI=true yarn --cwd ./.cypress cypress run --component --project ../ --config-file .cypress/cypress.config.ts --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": "^2.13.11",
  28. "@graphql-codegen/introspection": "^2.2.1",
  29. "@graphql-codegen/near-operation-file-preset": "^2.4.4",
  30. "@graphql-codegen/typescript": "^2.8.1",
  31. "@graphql-codegen/typescript-operations": "^2.5.6",
  32. "@graphql-codegen/typescript-vue-apollo": "^3.3.6",
  33. "@histoire/plugin-vue": "^0.11.6",
  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": "^8.3.4",
  43. "@typescript-eslint/eslint-plugin": "^5.42.0",
  44. "@typescript-eslint/parser": "^5.42.0",
  45. "@vitejs/plugin-vue": "^3.1.2",
  46. "@vue/eslint-config-prettier": "^7.0.0",
  47. "@vue/eslint-config-typescript": "^11.0.2",
  48. "@vue/test-utils": "^2.2.1",
  49. "autoprefixer": "^10.4.13",
  50. "eslint": "^8.26.0",
  51. "eslint-config-airbnb-base": "^15.0.0",
  52. "eslint-config-prettier": "^8.5.0",
  53. "eslint-import-resolver-alias": "^1.1.2",
  54. "eslint-plugin-import": "^2.26.0",
  55. "eslint-plugin-prettier": "^4.2.1",
  56. "eslint-plugin-prettier-vue": "^4.2.0",
  57. "eslint-plugin-security": "^1.5.0",
  58. "eslint-plugin-sonarjs": "^0.16.0",
  59. "eslint-plugin-vue": "^9.6.0",
  60. "eslint-plugin-zammad": "file:.eslint-plugin-zammad",
  61. "histoire": "^0.11.6",
  62. "jsdom": "^20.0.2",
  63. "mock-apollo-client": "^1.2.1",
  64. "postcss": "^8.4.18",
  65. "postcss-html": "^1.5.0",
  66. "prettier": "2.7.1",
  67. "prettier-plugin-tailwindcss": "^0.1.13",
  68. "regenerator-runtime": "^0.13.10",
  69. "sass": "^1.55.0",
  70. "stylelint": "^14.14.1",
  71. "stylelint-config-prettier": "^9.0.3",
  72. "stylelint-config-recommended-vue": "^1.4.0",
  73. "stylelint-config-standard": "^28.0.0",
  74. "stylelint-config-standard-scss": "^5.0.0",
  75. "stylelint-prettier": "^2.0.0",
  76. "stylelint-scss": "^4.3.0",
  77. "tailwindcss": "^3.1.8",
  78. "timezone-mock": "^1.3.4",
  79. "type-fest": "^2.19.0",
  80. "typescript": "^4.8.4",
  81. "vite": "^3.1.8",
  82. "vite-plugin-pwa": "^0.13.1",
  83. "vite-plugin-ruby": "^3.1.2",
  84. "vite-plugin-svg-icons": "^2.0.1",
  85. "vitest": "^0.25.0",
  86. "vitest-axe": "^0.1.0",
  87. "vue-tsc": "^0.40.13"
  88. },
  89. "dependencies": {
  90. "@apollo/client": "^3.7.1",
  91. "@formkit/core": "^1.0.0-beta.11",
  92. "@formkit/dev": "^1.0.0-beta.11",
  93. "@formkit/i18n": "^1.0.0-beta.11",
  94. "@formkit/inputs": "^1.0.0-beta.11",
  95. "@formkit/rules": "^1.0.0-beta.11",
  96. "@formkit/themes": "^1.0.0-beta.11",
  97. "@formkit/utils": "^1.0.0-beta.11",
  98. "@formkit/validation": "^1.0.0-beta.11",
  99. "@formkit/vue": "^1.0.0-beta.11",
  100. "@rails/actioncable": "6.1.7",
  101. "@tiptap/core": "^2.0.0-beta.202",
  102. "@tiptap/extension-image": "^2.0.0-beta.202",
  103. "@tiptap/extension-link": "^2.0.0-beta.202",
  104. "@tiptap/extension-list-item": "^2.0.0-beta.202",
  105. "@tiptap/extension-mention": "^2.0.0-beta.202",
  106. "@tiptap/extension-ordered-list": "^2.0.0-beta.202",
  107. "@tiptap/extension-paragraph": "^2.0.0-beta.202",
  108. "@tiptap/extension-strike": "^2.0.0-beta.202",
  109. "@tiptap/extension-underline": "^2.0.0-beta.202",
  110. "@tiptap/starter-kit": "^2.0.0-beta.202",
  111. "@tiptap/suggestion": "^2.0.0-beta.202",
  112. "@tiptap/vue-3": "^2.0.0-beta.202",
  113. "@vue/apollo-composable": "^4.0.0-beta.1",
  114. "@vueuse/core": "^9.4.0",
  115. "@vueuse/router": "^9.4.0",
  116. "@vueuse/shared": "^9.4.0",
  117. "async-mutex": "^0.4.0",
  118. "flatpickr": "^4.6.13",
  119. "graphql": "^16.6.0",
  120. "graphql-ruby-client": "^1.11.3",
  121. "graphql-tag": "^2.12.6",
  122. "linkify-html": "^3.0.5",
  123. "lodash-es": "^4.17.21",
  124. "loglevel": "^1.8.0",
  125. "mitt": "^3.0.0",
  126. "pinia": "^2.0.23",
  127. "prosemirror-model": "^1.18.1",
  128. "prosemirror-state": "^1.4.2",
  129. "tippy.js": "^6.3.7",
  130. "ua-parser-js": "^1.0.32",
  131. "uuid": "^8.3.2",
  132. "vue": "^3.2.41",
  133. "vue-advanced-cropper": "^2.8.6",
  134. "vue-easy-lightbox": "1.9.0",
  135. "vue-router": "^4.1.6",
  136. "vue3-draggable-resizable": "^1.6.5",
  137. "vuedraggable": "^4.1.0",
  138. "workbox-core": "^6.5.4",
  139. "workbox-precaching": "^6.5.4",
  140. "workbox-window": "^6.5.4"
  141. },
  142. "resolutions": {
  143. "loader-utils": "^3.2.0",
  144. "postcss": "^8.4.18"
  145. }
  146. }