package.json 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "nextchat",
  3. "private": false,
  4. "license": "mit",
  5. "scripts": {
  6. "mask": "npx tsx app/masks/build.ts",
  7. "mask:watch": "npx watch \"yarn mask\" app/masks",
  8. "dev": "concurrently -r \"yarn run mask:watch\" \"next dev\"",
  9. "build": "yarn mask && cross-env BUILD_MODE=standalone next build",
  10. "start": "next start",
  11. "lint": "next lint",
  12. "export": "yarn mask && cross-env BUILD_MODE=export BUILD_APP=1 next build",
  13. "export:dev": "concurrently -r \"yarn mask:watch\" \"cross-env BUILD_MODE=export BUILD_APP=1 next dev\"",
  14. "app:dev": "concurrently -r \"yarn mask:watch\" \"yarn tauri dev\"",
  15. "app:build": "yarn mask && yarn tauri build",
  16. "prompts": "node ./scripts/fetch-prompts.mjs",
  17. "prepare": "husky install",
  18. "proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev",
  19. "test": "jest --watch",
  20. "test:ci": "jest --ci"
  21. },
  22. "dependencies": {
  23. "@fortaine/fetch-event-source": "^3.0.6",
  24. "@hello-pangea/dnd": "^16.5.0",
  25. "@next/third-parties": "^14.1.0",
  26. "@svgr/webpack": "^6.5.1",
  27. "@vercel/analytics": "^0.1.11",
  28. "@vercel/speed-insights": "^1.0.2",
  29. "axios": "^1.7.5",
  30. "emoji-picker-react": "^4.9.2",
  31. "fuse.js": "^7.0.0",
  32. "heic2any": "^0.0.4",
  33. "html-to-image": "^1.11.11",
  34. "idb-keyval": "^6.2.1",
  35. "lodash-es": "^4.17.21",
  36. "markdown-to-txt": "^2.0.1",
  37. "mermaid": "^10.6.1",
  38. "nanoid": "^5.0.3",
  39. "next": "^14.1.1",
  40. "node-fetch": "^3.3.1",
  41. "openapi-client-axios": "^7.5.5",
  42. "react": "^18.2.0",
  43. "react-dom": "^18.2.0",
  44. "react-markdown": "^8.0.7",
  45. "react-router-dom": "^6.15.0",
  46. "rehype-highlight": "^6.0.0",
  47. "rehype-katex": "^6.0.3",
  48. "remark-breaks": "^3.0.2",
  49. "remark-gfm": "^3.0.1",
  50. "remark-math": "^5.1.1",
  51. "sass": "^1.59.2",
  52. "spark-md5": "^3.0.2",
  53. "use-debounce": "^9.0.4",
  54. "zustand": "^4.3.8"
  55. },
  56. "devDependencies": {
  57. "@tauri-apps/api": "^1.6.0",
  58. "@tauri-apps/cli": "1.5.11",
  59. "@testing-library/dom": "^10.4.0",
  60. "@testing-library/jest-dom": "^6.6.2",
  61. "@testing-library/react": "^16.0.0",
  62. "@types/jest": "^29.5.14",
  63. "@types/js-yaml": "4.0.9",
  64. "@types/lodash-es": "^4.17.12",
  65. "@types/node": "^20.11.30",
  66. "@types/react": "^18.2.70",
  67. "@types/react-dom": "^18.2.7",
  68. "@types/react-katex": "^3.0.0",
  69. "@types/spark-md5": "^3.0.4",
  70. "concurrently": "^8.2.2",
  71. "cross-env": "^7.0.3",
  72. "eslint": "^8.49.0",
  73. "eslint-config-next": "13.4.19",
  74. "eslint-config-prettier": "^8.8.0",
  75. "eslint-plugin-prettier": "^5.1.3",
  76. "eslint-plugin-unused-imports": "^3.2.0",
  77. "husky": "^8.0.0",
  78. "jest": "^29.7.0",
  79. "jest-environment-jsdom": "^29.7.0",
  80. "lint-staged": "^13.2.2",
  81. "prettier": "^3.0.2",
  82. "ts-node": "^10.9.2",
  83. "tsx": "^4.16.0",
  84. "typescript": "5.2.2",
  85. "watch": "^1.0.2",
  86. "webpack": "^5.88.1"
  87. },
  88. "resolutions": {
  89. "lint-staged/yaml": "^2.2.2"
  90. },
  91. "packageManager": "yarn@1.22.19"
  92. }