package.json 3.7 KB

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