package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. {
  2. "name": "ant-design-x-vue",
  3. "version": "1.0.6",
  4. "description": "Craft AI-driven interfaces effortlessly",
  5. "keywords": [
  6. "AI",
  7. "Copilot",
  8. "ant",
  9. "antdv",
  10. "components",
  11. "framework",
  12. "chat-ui",
  13. "vue"
  14. ],
  15. "scripts": {
  16. "build": "vite build && vue-tsc --project ./tsconfig.build.json && tsc resolver/index.ts --outDir dist/resolver --declaration",
  17. "build:watch": "vite build --watch",
  18. "docs:dev": "vitepress dev docs --host",
  19. "docs:build": "vitepress build docs",
  20. "docs:preview": "vitepress preview docs",
  21. "lint": "npm run lint:es",
  22. "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx,vue}\"",
  23. "prepublishOnly": "npm run test && npm run build",
  24. "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
  25. "test": "vitest",
  26. "test:cov": "vitest --coverage",
  27. "typecheck": "vue-tsc --noEmit",
  28. "play": "vite ./play"
  29. },
  30. "author": {
  31. "name": "wzc520pyfm",
  32. "email": "wzc520pyf@163.com",
  33. "url": "https://github.com/wzc520pyfm"
  34. },
  35. "repository": {
  36. "type": "git"
  37. },
  38. "license": "MIT",
  39. "exports": {
  40. ".": {
  41. "types": "./dist/typings/index.d.ts",
  42. "import": "./dist/index.mjs",
  43. "require": "./dist/index.umd.js"
  44. },
  45. "./dist/style.css": "./dist/style.css",
  46. "./resolver": {
  47. "types": "./dist/typings/resolver/index.d.ts",
  48. "import": "./dist/resolver/index.js"
  49. }
  50. },
  51. "main": "./dist/index.umd.js",
  52. "module": "./dist/index.mjs",
  53. "unpkg": "dist/index.umd.js",
  54. "types": "./dist/typings/index.d.ts",
  55. "files": [
  56. "dist"
  57. ],
  58. "commitlint": {
  59. "extends": [
  60. "@commitlint/config-conventional"
  61. ]
  62. },
  63. "lint-staged": {
  64. "*.{md,json}": [
  65. "prettier --write --no-error-on-unmatched-pattern"
  66. ],
  67. "*.{css,less}": [
  68. "stylelint --fix",
  69. "prettier --write"
  70. ],
  71. "*.{js,jsx}": [
  72. "eslint --fix",
  73. "prettier --write"
  74. ],
  75. "*.{ts,tsx}": [
  76. "eslint --fix",
  77. "prettier --parser=typescript --write"
  78. ]
  79. },
  80. "publishConfig": {
  81. "access": "public"
  82. },
  83. "peerDependencies": {
  84. "ant-design-vue": ">=4.0.0",
  85. "vue": ">=3.3.0"
  86. },
  87. "devDependencies": {
  88. "@ant-design/icons-vue": "^7.0.1",
  89. "@commitlint/cli": "^17.1.2",
  90. "@commitlint/config-conventional": "^17.1.0",
  91. "@eslint/js": "^9.11.1",
  92. "@stackblitz/sdk": "^1.11.0",
  93. "@types/markdown-it": "^14.1.2",
  94. "@types/node": "^22.10.2",
  95. "@types/stylis": "^4.2.7",
  96. "@typescript-eslint/eslint-plugin": "^8.7.0",
  97. "@typescript-eslint/parser": "^8.7.0",
  98. "@vitejs/plugin-vue": "^5.1.4",
  99. "@vitejs/plugin-vue-jsx": "^4.0.1",
  100. "@vitest/coverage-v8": "^2.1.1",
  101. "@vue/shared": "^3.5.13",
  102. "@vue/test-utils": "^2.4.6",
  103. "@vueuse/core": "^12.2.0",
  104. "ant-design-vue": "^4.2.6",
  105. "changelogen": "^0.5.7",
  106. "eslint": "^8.57.1",
  107. "eslint-plugin-vue": "^9.17.0",
  108. "fast-glob": "^3.3.2",
  109. "happy-dom": "^15.7.4",
  110. "husky": "^8.0.1",
  111. "less": "^4.2.0",
  112. "lint-staged": "^13.0.3",
  113. "markdown-it": "^14.1.0",
  114. "markdown-it-container": "^4.0.0",
  115. "prettier": "^2.7.1",
  116. "prettier-plugin-organize-imports": "^3.0.0",
  117. "prettier-plugin-packagejson": "^2.2.18",
  118. "stylelint": "^14.9.1",
  119. "typescript": "~5.5.4",
  120. "unplugin-vue-macros": "^2.13.6",
  121. "vite": "^5.4.8",
  122. "vite-plugin-inspect": "^0.8.9",
  123. "vitepress": "^1.5.0",
  124. "vitest": "^2.1.1",
  125. "vue": "^3.5.10",
  126. "vue-tsc": "^2.1.6"
  127. },
  128. "dependencies": {
  129. "@ant-design/fast-color": "^2.0.6",
  130. "@emotion/hash": "^0.9.2",
  131. "@emotion/unitless": "^0.10.0",
  132. "classnames": "^2.5.1",
  133. "csstype": "^3.1.3",
  134. "stylis": "^4.3.4"
  135. },
  136. "packageManager": "pnpm@9.6.0"
  137. }