package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "ax-frontend-app",
  3. "private": true,
  4. "version": "0.0.0",
  5. "type": "module",
  6. "scripts": {
  7. "dev": "vite",
  8. "build": "tsc -b && vite build",
  9. "build:analyze": "cross-env ANALYZE=true npm run build",
  10. "analyze": "node scripts/analyze-bundle.js",
  11. "lint": "eslint .",
  12. "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
  13. "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
  14. "preview": "vite preview --host 0.0.0.0 --port 4173",
  15. "serve:prod": "npm run build && vite preview --host 0.0.0.0 --port 4173",
  16. "lighthouse:ready": "npm run build && vite preview --host 0.0.0.0 --port 4173",
  17. "test": "vitest run",
  18. "test:watch": "vitest",
  19. "test:document": "vitest run src/utils/blockOperations.test.ts src/utils/richTextConverter.test.ts",
  20. "test:export": "vitest run src/services/clientExportService.test.ts",
  21. "test:integration": "vitest run",
  22. "test:coverage": "vitest run --coverage"
  23. },
  24. "dependencies": {
  25. "@ant-design/icons": "^6.2.5",
  26. "antd": "^5.22.6",
  27. "axios": "^1.7.9",
  28. "hash-sum": "^2.0.0",
  29. "html2canvas": "^1.4.1",
  30. "jspdf": "^4.2.1",
  31. "mammoth": "^1.12.0",
  32. "p-limit": "^7.3.0",
  33. "react": "^18.3.1",
  34. "react-dom": "^18.3.1",
  35. "uuid": "^14.0.0",
  36. "zustand": "^4.5.5"
  37. },
  38. "devDependencies": {
  39. "@eslint/js": "^10.0.1",
  40. "@originjs/vite-plugin-federation": "^1.4.1",
  41. "@testing-library/jest-dom": "^6.9.1",
  42. "@testing-library/react": "^16.3.2",
  43. "@types/hash-sum": "^1.0.2",
  44. "@types/node": "^24.12.3",
  45. "@types/react": "^18.3.18",
  46. "@types/react-dom": "^18.3.5",
  47. "@types/turndown": "^5.0.6",
  48. "@types/uuid": "^10.0.0",
  49. "@vitejs/plugin-react": "^6.0.1",
  50. "cross-env": "^10.1.0",
  51. "eslint": "^10.3.0",
  52. "eslint-plugin-react-hooks": "^7.1.1",
  53. "eslint-plugin-react-refresh": "^0.5.2",
  54. "globals": "^17.6.0",
  55. "jsdom": "^29.1.1",
  56. "prettier": "^3.4.2",
  57. "rollup-plugin-visualizer": "^7.0.1",
  58. "typescript": "~6.0.2",
  59. "typescript-eslint": "^8.59.2",
  60. "vite": "^8.0.12",
  61. "vitest": "^4.1.9"
  62. }
  63. }