package.json 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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.1.2",
  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": "^10.0.7",
  34. "@storybook/addon-docs": "^10.0.7",
  35. "@storybook/addon-svelte-csf": "^5.0.10",
  36. "@storybook/addon-vitest": "^10.0.7",
  37. "@storybook/sveltekit": "^10.0.7",
  38. "@sveltejs/adapter-static": "^3.0.10",
  39. "@sveltejs/kit": "^2.48.4",
  40. "@sveltejs/vite-plugin-svelte": "^6.2.1",
  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": "^10.0.7",
  52. "eslint-plugin-svelte": "^3.0.0",
  53. "fflate": "^0.8.2",
  54. "globals": "^16.0.0",
  55. "http-server": "^14.1.1",
  56. "mdast": "^3.0.0",
  57. "mdsvex": "^0.12.3",
  58. "playwright": "^1.56.1",
  59. "prettier": "^3.4.2",
  60. "prettier-plugin-svelte": "^3.3.3",
  61. "prettier-plugin-tailwindcss": "^0.6.11",
  62. "rehype-katex": "^7.0.1",
  63. "remark-math": "^6.0.0",
  64. "sass": "^1.93.3",
  65. "storybook": "^10.0.7",
  66. "svelte": "^5.0.0",
  67. "svelte-check": "^4.0.0",
  68. "tailwind-merge": "^3.3.1",
  69. "tailwind-variants": "^1.0.0",
  70. "tailwindcss": "^4.0.0",
  71. "tw-animate-css": "^1.3.5",
  72. "typescript": "^5.0.0",
  73. "typescript-eslint": "^8.20.0",
  74. "unified": "^11.0.5",
  75. "uuid": "^13.0.0",
  76. "vite": "^7.2.2",
  77. "vite-plugin-devtools-json": "^0.2.0",
  78. "vitest": "^3.2.3",
  79. "vitest-browser-svelte": "^0.1.0"
  80. },
  81. "dependencies": {
  82. "highlight.js": "^11.11.1",
  83. "mode-watcher": "^1.1.0",
  84. "pdfjs-dist": "^5.4.54",
  85. "rehype-highlight": "^7.0.2",
  86. "rehype-stringify": "^10.0.1",
  87. "remark": "^15.0.1",
  88. "remark-breaks": "^4.0.0",
  89. "remark-gfm": "^4.0.1",
  90. "remark-html": "^16.0.1",
  91. "remark-rehype": "^11.1.2",
  92. "svelte-sonner": "^1.0.5",
  93. "unist-util-visit": "^5.0.0"
  94. }
  95. }