package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. "lint:eslint": "eslint \"{src}/**/*.{vue,ts,tsx}\" --fix",
  23. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  24. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  25. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  26. "lint:pretty": "pretty-quick --staged",
  27. "test prod gzip": "http-server dist --cors --gzip -c-1"
  28. },
  29. "dependencies": {
  30. "@iconify/vue": "^4.1.1",
  31. "@langchat/web-sdk": "^0.2.5",
  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. "naive-ui": "^2.39.0",
  48. "pinia": "^2.1.6",
  49. "qs": "^6.11.2",
  50. "uuid": "^9.0.0",
  51. "vue": "^3.3.4",
  52. "vue-router": "^4.2.4",
  53. "vue-types": "^4.2.1",
  54. "vue3-tree-org": "^4.2.2"
  55. },
  56. "devDependencies": {
  57. "@commitlint/cli": "^17.7.0",
  58. "@commitlint/config-conventional": "^17.7.0",
  59. "@types/lodash": "^4.14.197",
  60. "@types/node": "^18.17.4",
  61. "@typescript-eslint/eslint-plugin": "^5.62.0",
  62. "@typescript-eslint/parser": "^5.62.0",
  63. "@vitejs/plugin-vue": "^3.2.0",
  64. "@vitejs/plugin-vue-jsx": "^2.1.1",
  65. "@vue/compiler-sfc": "^3.3.4",
  66. "@vue/eslint-config-typescript": "^11.0.3",
  67. "autoprefixer": "^10.4.14",
  68. "commitizen": "^4.3.0",
  69. "core-js": "^3.32.0",
  70. "cross-env": "^7.0.3",
  71. "crypto-js": "^4.1.1",
  72. "dotenv": "^16.3.1",
  73. "eslint": "^8.46.0",
  74. "eslint-config-prettier": "^8.10.0",
  75. "eslint-define-config": "1.12.0",
  76. "eslint-plugin-jest": "^27.2.3",
  77. "eslint-plugin-prettier": "^4.2.1",
  78. "eslint-plugin-vue": "^9.17.0",
  79. "esno": "^0.16.3",
  80. "husky": "^8.0.3",
  81. "jest": "^29.6.2",
  82. "less": "^4.2.0",
  83. "less-loader": "^11.1.3",
  84. "lint-staged": "^13.2.3",
  85. "postcss": "^8.4.27",
  86. "prettier": "^2.8.8",
  87. "pretty-quick": "^3.1.3",
  88. "rimraf": "^3.0.2",
  89. "stylelint": "^14.16.1",
  90. "stylelint-config-prettier": "^9.0.5",
  91. "stylelint-config-standard": "^29.0.0",
  92. "stylelint-order": "^5.0.0",
  93. "stylelint-scss": "^4.7.0",
  94. "tailwindcss": "^3.3.3",
  95. "typescript": "^4.9.5",
  96. "unplugin-vue-components": "^0.22.12",
  97. "vite": "^3.2.7",
  98. "vite-plugin-compression": "^0.5.1",
  99. "vite-plugin-html": "^3.2.0",
  100. "vite-plugin-style-import": "^2.0.0",
  101. "vue-demi": "^0.13.11",
  102. "vue-eslint-parser": "^9.3.1",
  103. "vuedraggable": "^4.1.0"
  104. },
  105. "lint-staged": {
  106. "*.{vue,js,ts,tsx}": "eslint --fix"
  107. },
  108. "config": {
  109. "commitizen": {
  110. "path": "./node_modules/cz-customizable"
  111. }
  112. },
  113. "keywords": [
  114. "vue",
  115. "naive-ui",
  116. "vue3",
  117. "ts",
  118. "tsx",
  119. "admin",
  120. "typescript"
  121. ],
  122. "engines": {
  123. "node": ">=16"
  124. }
  125. }