package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "name": "langchat-ui",
  3. "version": "1.9.0",
  4. "author": {
  5. "name": "tycoding",
  6. "email": "tycoding@sina.com",
  7. "url": "https://github.com/tycoding"
  8. },
  9. "private": true,
  10. "scripts": {
  11. "bootstrap": "pnpm install",
  12. "serve": "pnpm run dev",
  13. "dev": "vite",
  14. "build": "vite build && esno ./build/script/postBuild.ts",
  15. "build:no-cache": "pnpm clean:cache && npm run build",
  16. "report": "cross-env REPORT=true npm run build",
  17. "preview": "npm run build && vite preview",
  18. "preview:dist": "vite preview",
  19. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  20. "clean:lib": "rimraf node_modules",
  21. "build typecheck": "vuedx-typecheck . && vite build",
  22. "deploy": "gh-pages -d dist",
  23. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  24. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  25. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  26. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  27. "lint:pretty": "pretty-quick --staged",
  28. "test prod gzip": "http-server dist --cors --gzip -c-1"
  29. },
  30. "dependencies": {
  31. "@iconify/vue": "^4.1.1",
  32. "@traptitech/markdown-it-katex": "^3.6.0",
  33. "@types/uuid": "^9.0.2",
  34. "@vicons/antd": "^0.12.0",
  35. "@vicons/ionicons5": "^0.12.0",
  36. "@vueuse/core": "^9.13.0",
  37. "axios": "^1.4.0",
  38. "blueimp-md5": "^2.19.0",
  39. "date-fns": "^2.30.0",
  40. "echarts": "^5.4.3",
  41. "element-resize-detector": "^1.2.4",
  42. "highlight.js": "^11.9.0",
  43. "lodash-es": "^4.17.21",
  44. "markdown-it": "^14.1.0",
  45. "markdown-it-link-attributes": "^4.0.1",
  46. "mitt": "^3.0.1",
  47. "mockjs": "^1.1.0",
  48. "naive-ui": "^2.39.0",
  49. "pinia": "^2.1.6",
  50. "qs": "^6.11.2",
  51. "uuid": "^9.0.0",
  52. "vfonts": "^0.0.3",
  53. "vue": "^3.3.4",
  54. "vue-router": "^4.2.4",
  55. "vue-types": "^4.2.1",
  56. "vue3-tree-org": "^4.2.2"
  57. },
  58. "devDependencies": {
  59. "@commitlint/cli": "^17.7.0",
  60. "@commitlint/config-conventional": "^17.7.0",
  61. "@types/lodash": "^4.14.197",
  62. "@types/node": "^18.17.4",
  63. "@typescript-eslint/eslint-plugin": "^5.62.0",
  64. "@typescript-eslint/parser": "^5.62.0",
  65. "@vitejs/plugin-vue": "^3.2.0",
  66. "@vitejs/plugin-vue-jsx": "^2.1.1",
  67. "@vue/compiler-sfc": "^3.3.4",
  68. "@vue/eslint-config-typescript": "^11.0.3",
  69. "autoprefixer": "^10.4.14",
  70. "commitizen": "^4.3.0",
  71. "core-js": "^3.32.0",
  72. "cross-env": "^7.0.3",
  73. "crypto-js": "^4.1.1",
  74. "dotenv": "^16.3.1",
  75. "eslint": "^8.46.0",
  76. "eslint-config-prettier": "^8.10.0",
  77. "eslint-define-config": "1.12.0",
  78. "eslint-plugin-jest": "^27.2.3",
  79. "eslint-plugin-prettier": "^4.2.1",
  80. "eslint-plugin-vue": "^9.17.0",
  81. "esno": "^0.16.3",
  82. "gh-pages": "^4.0.0",
  83. "husky": "^8.0.3",
  84. "jest": "^29.6.2",
  85. "less": "^4.2.0",
  86. "less-loader": "^11.1.3",
  87. "lint-staged": "^13.2.3",
  88. "postcss": "^8.4.27",
  89. "prettier": "^2.8.8",
  90. "pretty-quick": "^3.1.3",
  91. "rimraf": "^3.0.2",
  92. "stylelint": "^14.16.1",
  93. "stylelint-config-prettier": "^9.0.5",
  94. "stylelint-config-standard": "^29.0.0",
  95. "stylelint-order": "^5.0.0",
  96. "stylelint-scss": "^4.7.0",
  97. "tailwindcss": "^3.3.3",
  98. "typescript": "^4.9.5",
  99. "unplugin-vue-components": "^0.22.12",
  100. "vite": "^3.2.7",
  101. "vite-plugin-compression": "^0.5.1",
  102. "vite-plugin-html": "^3.2.0",
  103. "vite-plugin-mock": "^2.9.8",
  104. "vite-plugin-style-import": "^2.0.0",
  105. "vue-demi": "^0.13.11",
  106. "vue-eslint-parser": "^9.3.1",
  107. "vuedraggable": "^4.1.0"
  108. },
  109. "lint-staged": {
  110. "*.{vue,js,ts,tsx}": "eslint --fix"
  111. },
  112. "config": {
  113. "commitizen": {
  114. "path": "./node_modules/cz-customizable"
  115. }
  116. },
  117. "keywords": [
  118. "vue",
  119. "naive-ui",
  120. "vue3",
  121. "ts",
  122. "tsx",
  123. "admin",
  124. "typescript"
  125. ],
  126. "engines": {
  127. "node": ">=16"
  128. }
  129. }