package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. "@codemirror/lang-javascript": "^6.2.2",
  32. "@codemirror/theme-one-dark": "^6.1.2",
  33. "@iconify/vue": "^4.1.1",
  34. "@rmp135/vue-splitter": "^2.0.2",
  35. "@traptitech/markdown-it-katex": "^3.6.0",
  36. "@types/uuid": "^9.0.2",
  37. "@vicons/antd": "^0.12.0",
  38. "@vicons/ionicons5": "^0.12.0",
  39. "@vueuse/core": "^9.13.0",
  40. "axios": "^1.4.0",
  41. "blueimp-md5": "^2.19.0",
  42. "date-fns": "^2.30.0",
  43. "echarts": "^5.4.3",
  44. "element-resize-detector": "^1.2.4",
  45. "highlight.js": "^11.9.0",
  46. "lodash-es": "^4.17.21",
  47. "markdown-it": "^14.1.0",
  48. "markdown-it-link-attributes": "^4.0.1",
  49. "mitt": "^3.0.1",
  50. "mockjs": "^1.1.0",
  51. "naive-ui": "^2.38.2",
  52. "pinia": "^2.1.6",
  53. "qs": "^6.11.2",
  54. "uuid": "^9.0.0",
  55. "vfonts": "^0.0.3",
  56. "vue": "^3.3.4",
  57. "vue-codemirror": "^6.1.1",
  58. "vue-router": "^4.2.4",
  59. "vue-types": "^4.2.1",
  60. "vue3-tree-org": "^4.2.2"
  61. },
  62. "devDependencies": {
  63. "@commitlint/cli": "^17.7.0",
  64. "@commitlint/config-conventional": "^17.7.0",
  65. "@types/lodash": "^4.14.197",
  66. "@types/node": "^18.17.4",
  67. "@typescript-eslint/eslint-plugin": "^5.62.0",
  68. "@typescript-eslint/parser": "^5.62.0",
  69. "@vitejs/plugin-vue": "^3.2.0",
  70. "@vitejs/plugin-vue-jsx": "^2.1.1",
  71. "@vue/compiler-sfc": "^3.3.4",
  72. "@vue/eslint-config-typescript": "^11.0.3",
  73. "autoprefixer": "^10.4.14",
  74. "commitizen": "^4.3.0",
  75. "core-js": "^3.32.0",
  76. "cross-env": "^7.0.3",
  77. "crypto-js": "^4.1.1",
  78. "dotenv": "^16.3.1",
  79. "eslint": "^8.46.0",
  80. "eslint-config-prettier": "^8.10.0",
  81. "eslint-define-config": "1.12.0",
  82. "eslint-plugin-jest": "^27.2.3",
  83. "eslint-plugin-prettier": "^4.2.1",
  84. "eslint-plugin-vue": "^9.17.0",
  85. "esno": "^0.16.3",
  86. "gh-pages": "^4.0.0",
  87. "husky": "^8.0.3",
  88. "jest": "^29.6.2",
  89. "less": "^4.2.0",
  90. "less-loader": "^11.1.3",
  91. "lint-staged": "^13.2.3",
  92. "postcss": "^8.4.27",
  93. "prettier": "^2.8.8",
  94. "pretty-quick": "^3.1.3",
  95. "rimraf": "^3.0.2",
  96. "stylelint": "^14.16.1",
  97. "stylelint-config-prettier": "^9.0.5",
  98. "stylelint-config-standard": "^29.0.0",
  99. "stylelint-order": "^5.0.0",
  100. "stylelint-scss": "^4.7.0",
  101. "tailwindcss": "^3.3.3",
  102. "typescript": "^4.9.5",
  103. "unplugin-vue-components": "^0.22.12",
  104. "vite": "^3.2.7",
  105. "vite-plugin-compression": "^0.5.1",
  106. "vite-plugin-html": "^3.2.0",
  107. "vite-plugin-mock": "^2.9.8",
  108. "vite-plugin-style-import": "^2.0.0",
  109. "vue-demi": "^0.13.11",
  110. "vue-eslint-parser": "^9.3.1",
  111. "vuedraggable": "^4.1.0"
  112. },
  113. "lint-staged": {
  114. "*.{vue,js,ts,tsx}": "eslint --fix"
  115. },
  116. "config": {
  117. "commitizen": {
  118. "path": "./node_modules/cz-customizable"
  119. }
  120. },
  121. "keywords": [
  122. "vue",
  123. "naive-ui",
  124. "vue3",
  125. "ts",
  126. "tsx",
  127. "admin",
  128. "typescript"
  129. ],
  130. "engines": {
  131. "node": ">=16"
  132. }
  133. }