package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "webui",
  3. "private": true,
  4. "version": "1.0.0",
  5. "type": "module",
  6. "scripts": {
  7. "dev": "bash scripts/dev.sh",
  8. "build": "vite build && ./scripts/post-build.sh",
  9. "preview": "vite preview",
  10. "prepare": "svelte-kit sync || echo ''",
  11. "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
  12. "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
  13. "reset": "rm -rf .svelte-kit node_modules",
  14. "format": "prettier --write .",
  15. "lint": "prettier --check . && eslint .",
  16. "test": "npm run test:ui -- --run && npm run test:client -- --run && npm run test:server -- --run && npm run test:e2e",
  17. "test:e2e": "playwright test",
  18. "test:client": "vitest --project=client",
  19. "test:server": "vitest --project=server",
  20. "test:ui": "vitest --project=ui",
  21. "test:unit": "vitest",
  22. "storybook": "storybook dev -p 6006",
  23. "build-storybook": "storybook build",
  24. "cleanup": "rm -rf .svelte-kit build node_modules test-results"
  25. },
  26. "devDependencies": {
  27. "@chromatic-com/storybook": "^4.0.1",
  28. "@eslint/compat": "^1.2.5",
  29. "@eslint/js": "^9.18.0",
  30. "@internationalized/date": "^3.8.2",
  31. "@lucide/svelte": "^0.515.0",
  32. "@playwright/test": "^1.49.1",
  33. "@storybook/addon-a11y": "^9.0.17",
  34. "@storybook/addon-docs": "^9.0.17",
  35. "@storybook/addon-svelte-csf": "^5.0.7",
  36. "@storybook/addon-vitest": "^9.0.17",
  37. "@storybook/sveltekit": "^9.0.17",
  38. "@sveltejs/adapter-static": "^3.0.8",
  39. "@sveltejs/kit": "^2.22.0",
  40. "@sveltejs/vite-plugin-svelte": "^6.0.0",
  41. "@tailwindcss/forms": "^0.5.9",
  42. "@tailwindcss/typography": "^0.5.15",
  43. "@tailwindcss/vite": "^4.0.0",
  44. "@types/node": "^22",
  45. "@vitest/browser": "^3.2.3",
  46. "bits-ui": "^2.8.11",
  47. "clsx": "^2.1.1",
  48. "dexie": "^4.0.11",
  49. "eslint": "^9.18.0",
  50. "eslint-config-prettier": "^10.0.1",
  51. "eslint-plugin-storybook": "^9.0.17",
  52. "eslint-plugin-svelte": "^3.0.0",
  53. "fflate": "^0.8.2",
  54. "globals": "^16.0.0",
  55. "mdsvex": "^0.12.3",
  56. "playwright": "^1.53.0",
  57. "prettier": "^3.4.2",
  58. "prettier-plugin-svelte": "^3.3.3",
  59. "prettier-plugin-tailwindcss": "^0.6.11",
  60. "rehype-katex": "^7.0.1",
  61. "remark-math": "^6.0.0",
  62. "storybook": "^9.0.17",
  63. "svelte": "^5.0.0",
  64. "svelte-check": "^4.0.0",
  65. "tailwind-merge": "^3.3.1",
  66. "tailwind-variants": "^1.0.0",
  67. "tailwindcss": "^4.0.0",
  68. "tw-animate-css": "^1.3.5",
  69. "typescript": "^5.0.0",
  70. "typescript-eslint": "^8.20.0",
  71. "uuid": "^13.0.0",
  72. "vite": "^7.0.4",
  73. "vite-plugin-devtools-json": "^0.2.0",
  74. "vitest": "^3.2.3",
  75. "vitest-browser-svelte": "^0.1.0"
  76. },
  77. "dependencies": {
  78. "highlight.js": "^11.11.1",
  79. "mode-watcher": "^1.1.0",
  80. "pdfjs-dist": "^5.4.54",
  81. "rehype-highlight": "^7.0.2",
  82. "rehype-stringify": "^10.0.1",
  83. "remark": "^15.0.1",
  84. "remark-breaks": "^4.0.0",
  85. "remark-gfm": "^4.0.1",
  86. "remark-html": "^16.0.1",
  87. "remark-rehype": "^11.1.2",
  88. "svelte-sonner": "^1.0.5",
  89. "unist-util-visit": "^5.0.0"
  90. }
  91. }