package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "chatgpt-web",
  3. "version": "1.0.0",
  4. "private": false,
  5. "description": "ChatGPT Web",
  6. "author": "",
  7. "keywords": [
  8. "chatgpt-web",
  9. "chatgpt",
  10. "chatbot",
  11. "vue"
  12. ],
  13. "scripts": {
  14. "dev": "vite",
  15. "build": "run-p type-check build-only",
  16. "preview": "vite preview",
  17. "build-only": "vite build",
  18. "type-check": "vue-tsc --noEmit",
  19. "lint": "eslint .",
  20. "lint:fix": "eslint . --fix",
  21. "bootstrap": "pnpm install && pnpm run common:prepare",
  22. "common:cleanup": "rimraf node_modules && rimraf pnpm-lock.yaml",
  23. "common:prepare": "husky install"
  24. },
  25. "dependencies": {
  26. "@traptitech/markdown-it-katex": "^3.6.0",
  27. "@vueuse/core": "^9.13.0",
  28. "highlight.js": "^11.7.0",
  29. "html2canvas": "^1.4.1",
  30. "katex": "^0.16.4",
  31. "markdown-it": "^13.0.1",
  32. "naive-ui": "^2.34.3",
  33. "pinia": "^2.0.33",
  34. "vue": "^3.2.47",
  35. "vue-i18n": "^9.2.2",
  36. "vue-router": "^4.1.6"
  37. },
  38. "devDependencies": {
  39. "@antfu/eslint-config": "^0.35.3",
  40. "@commitlint/cli": "^17.5.1",
  41. "@commitlint/config-conventional": "^17.4.4",
  42. "@iconify/vue": "^4.1.0",
  43. "@types/crypto-js": "^4.1.1",
  44. "@types/katex": "^0.16.0",
  45. "@types/markdown-it": "^12.2.3",
  46. "@types/markdown-it-link-attributes": "^3.0.1",
  47. "@types/node": "^18.15.11",
  48. "@vitejs/plugin-vue": "^4.1.0",
  49. "autoprefixer": "^10.4.14",
  50. "axios": "^1.3.4",
  51. "crypto-js": "^4.1.1",
  52. "eslint": "^8.37.0",
  53. "husky": "^8.0.3",
  54. "less": "^4.1.3",
  55. "lint-staged": "^13.2.0",
  56. "markdown-it-link-attributes": "^4.0.1",
  57. "npm-run-all": "^4.1.5",
  58. "postcss": "^8.4.21",
  59. "rimraf": "^4.4.1",
  60. "tailwindcss": "^3.3.1",
  61. "typescript": "~4.9.5",
  62. "vite": "^4.2.1",
  63. "vite-plugin-pwa": "^0.14.7",
  64. "vue-tsc": "^1.2.0"
  65. },
  66. "lint-staged": {
  67. "*.{ts,tsx,vue}": [
  68. "pnpm lint:fix"
  69. ]
  70. }
  71. }