package.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. {
  2. "name": "ant-design-vue",
  3. "version": "3.2.20",
  4. "title": "Ant Design Vue",
  5. "description": "An enterprise-class UI design language and Vue-based implementation",
  6. "keywords": [
  7. "vue",
  8. "vue3",
  9. "ant",
  10. "design",
  11. "antd",
  12. "vueComponent",
  13. "component",
  14. "components",
  15. "ui",
  16. "framework",
  17. "frontend"
  18. ],
  19. "main": "lib/index.js",
  20. "module": "es/index.js",
  21. "unpkg": "dist/antd.min.js",
  22. "typings": "lib/index.d.ts",
  23. "files": [
  24. "dist",
  25. "lib",
  26. "es",
  27. "scripts",
  28. "vetur",
  29. "typings/global.d.ts"
  30. ],
  31. "scripts": {
  32. "predev": "npm run version && node node_modules/esbuild/install.js",
  33. "precompile": "npm run version",
  34. "pretest": "npm run version",
  35. "predist": "npm run version",
  36. "presite": "npm run version",
  37. "dev": "npm run predev && npm run routes && vite serve site",
  38. "test": "cross-env NODE_ENV=test jest --config .jest.js",
  39. "compile": "node antd-tools/cli/run.js compile",
  40. "generator-webtypes": "tsc -p antd-tools/generator-types/tsconfig.json && node antd-tools/generator-types/index.js",
  41. "pub": "npm run version && node --max_old_space_size=8192 antd-tools/cli/run.js pub",
  42. "pub-with-ci": "npm run version && node antd-tools/cli/run.js pub-with-ci",
  43. "prepublishOnly": "node antd-tools/cli/run.js guard",
  44. "pre-publish": "npm run generator-webtypes",
  45. "prettier": "prettier -c --write **/*",
  46. "pretty-quick": "pretty-quick",
  47. "dist": "node --max_old_space_size=8192 antd-tools/cli/run.js dist",
  48. "lint": "npm run tsc && npm run lint:demo && npm run lint:md && npm run lint:script && npm run lint:site",
  49. "lint:components": "eslint --fix --ext .jsx,.js,.ts,.tsx ./components",
  50. "lint:demo": "eslint --fix components/*/demo/*.vue",
  51. "lint:md": "eslint --fix *.md",
  52. "lint:script": "eslint . --ext '.js,.jsx,.ts,.tsx'",
  53. "lint:site": "eslint -c ./.eslintrc.js --fix --ext .jsx,.js,.ts,.tsx,vue ./site",
  54. "lint:style": "stylelint \"{site,components}/**/*.less\" --syntax less",
  55. "codecov": "codecov",
  56. "routes": "node site/scripts/genrateRoutes.js",
  57. "tsc": "tsc --noEmit",
  58. "vue-tsc": "vue-tsc --noEmit",
  59. "site": "npm run routes && ./node_modules/vite/bin/vite.js build site --base=https://www.antdv.com/",
  60. "pub:site": "npm run site && node site/scripts/pushToOSS.js",
  61. "prepare": "husky install",
  62. "version": "node ./scripts/generate-version",
  63. "sort-api": "node antd-tools/cli/run.js sort-api-table"
  64. },
  65. "browserslist": [
  66. "> 0.5%",
  67. "last 2 versions",
  68. "Firefox ESR",
  69. "not dead",
  70. "not IE 11"
  71. ],
  72. "repository": {
  73. "type": "git",
  74. "url": "git+https://github.com/vueComponent/ant-design-vue.git"
  75. },
  76. "license": "MIT",
  77. "funding": {
  78. "type": "opencollective",
  79. "url": "https://opencollective.com/ant-design-vue"
  80. },
  81. "bugs": {
  82. "url": "https://github.com/vueComponent/ant-design-vue/issues"
  83. },
  84. "homepage": "https://www.antdv.com/",
  85. "peerDependencies": {
  86. "vue": ">=3.2.0"
  87. },
  88. "engines": {
  89. "node": ">=12.22.0"
  90. },
  91. "devDependencies": {
  92. "@babel/cli": "^7.8.4",
  93. "@babel/core": "^7.10.5",
  94. "@babel/plugin-proposal-class-properties": "^7.8.3",
  95. "@babel/plugin-proposal-export-default-from": "^7.8.3",
  96. "@babel/plugin-proposal-export-namespace-from": "^7.12.1",
  97. "@babel/plugin-proposal-object-rest-spread": "^7.9.6",
  98. "@babel/plugin-proposal-optional-chaining": "^7.10.1",
  99. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  100. "@babel/plugin-transform-member-expression-literals": "^7.8.3",
  101. "@babel/plugin-transform-object-assign": "^7.8.3",
  102. "@babel/plugin-transform-property-literals": "^7.8.3",
  103. "@babel/plugin-transform-runtime": "^7.10.5",
  104. "@babel/plugin-transform-template-literals": "^7.8.3",
  105. "@babel/plugin-transform-typescript": "^7.12.1",
  106. "@babel/polyfill": "^7.8.7",
  107. "@babel/preset-env": "^7.9.6",
  108. "@babel/preset-typescript": "^7.10.4",
  109. "@commitlint/cli": "^12.0.0",
  110. "@commitlint/config-conventional": "^12.0.0",
  111. "@octokit/rest": "^18.0.0",
  112. "@rollup/plugin-babel": "^5.3.0",
  113. "@types/compression": "^1.7.0",
  114. "@types/fs-extra": "^9.0.8",
  115. "@types/jest": "^28.1.4",
  116. "@types/koa": "^2.11.6",
  117. "@types/lodash-es": "^4.17.3",
  118. "@types/lru-cache": "^5.1.0",
  119. "@types/markdown-it": "^10.0.2",
  120. "@types/node": "^14.0.0",
  121. "@types/postcss-load-config": "^2.0.1",
  122. "@typescript-eslint/eslint-plugin": "^5.4.0",
  123. "@typescript-eslint/parser": "^5.4.0",
  124. "@vitejs/plugin-legacy": "^2.2.0",
  125. "@vitejs/plugin-vue": "^3.0.0",
  126. "@vitejs/plugin-vue-jsx": "^2.0.0",
  127. "@vue/babel-plugin-jsx": "^1.0.0",
  128. "@vue/cli-plugin-eslint": "^5.0.0-0",
  129. "@vue/compiler-sfc": "^3.2.0",
  130. "@vue/eslint-config-prettier": "^6.0.0",
  131. "@vue/eslint-config-typescript": "^9.0.0",
  132. "@vue/test-utils": "^2.0.2",
  133. "@vue/vue3-jest": "28",
  134. "@vueuse/core": "^8.3.1",
  135. "@webpack-cli/serve": "^1.3.1",
  136. "acorn": "^8.0.0",
  137. "ali-oss": "^6.16.0",
  138. "autoprefixer": "^10.2.0",
  139. "axios": "^0.22.0",
  140. "babel-eslint": "^10.0.1",
  141. "babel-jest": "^28.1.2",
  142. "babel-loader": "^8.0.0",
  143. "babel-plugin-import": "^1.1.1",
  144. "babel-plugin-inline-import-data-uri": "^1.0.1",
  145. "babel-plugin-istanbul": "^6.0.0",
  146. "babel-plugin-transform-require-context": "^0.1.1",
  147. "case-sensitive-paths-webpack-plugin": "^2.1.2",
  148. "chalk": "^4.1.1",
  149. "cheerio": "^1.0.0-rc.2",
  150. "codecov": "^3.0.0",
  151. "codesandbox": "^2.2.3",
  152. "colorful": "^2.1.0",
  153. "commander": "^6.1.0",
  154. "compare-versions": "^3.3.0",
  155. "cross-env": "^7.0.0",
  156. "css-loader": "^5.0.0",
  157. "css-minimizer-webpack-plugin": "^3.0.0",
  158. "cz-git": "^1.3.8",
  159. "date-fns": "^2.24.0",
  160. "diacritics": "^1.3.0",
  161. "docsearch.js": "^2.6.3",
  162. "duplicate-package-checker-webpack-plugin": "^3.0.0",
  163. "enquire-js": "^0.2.1",
  164. "esbuild": "~0.12.29",
  165. "esbuild-loader": "^2.18.0",
  166. "escape-html": "^1.0.3",
  167. "eslint": "^8.3.0",
  168. "eslint-config-prettier": "^8.0.0",
  169. "eslint-plugin-html": "^6.0.0",
  170. "eslint-plugin-import": "^2.24.2",
  171. "eslint-plugin-jest": "^26.0.0",
  172. "eslint-plugin-markdown": "^2.0.0",
  173. "eslint-plugin-no-explicit-type-exports": "^0.12.0",
  174. "eslint-plugin-prettier": "^3.1.0",
  175. "eslint-plugin-vue": "^8.1.1",
  176. "fast-glob": "^3.2.7",
  177. "fetch-jsonp": "^1.1.3",
  178. "fs-extra": "^10.0.0",
  179. "glob": "^7.1.2",
  180. "globby": "^11.1.0",
  181. "gray-matter": "^4.0.3",
  182. "gulp": "^4.0.1",
  183. "gulp-babel": "^8.0.0",
  184. "gulp-strip-code": "^0.1.4",
  185. "gulp-typescript": "^6.0.0-alpha.1",
  186. "html-webpack-plugin": "^5.3.1",
  187. "husky": "^6.0.0",
  188. "ignore-emit-webpack-plugin": "^2.0.6",
  189. "is-windows": "^1.0.2",
  190. "jest": "^28.1.2",
  191. "jest-environment-jsdom": "^28.0.0",
  192. "jest-environment-node": "^28.0.2",
  193. "jest-serializer-vue": "^2.0.0",
  194. "jest-transform-stub": "^2.0.0",
  195. "js-base64": "^3.0.0",
  196. "json-templater": "^1.2.0",
  197. "jsonp": "^0.2.1",
  198. "less": "^4.0.0",
  199. "less-loader": "^10.0.0",
  200. "less-plugin-npm-import": "^2.1.0",
  201. "less-vars-to-js": "^1.3.0",
  202. "lint-staged": "^11.0.0",
  203. "majo": "^0.10.1",
  204. "markdown-it": "^8.4.2",
  205. "markdown-it-anchor": "^8.0.4",
  206. "markdown-it-container": "^3.0.0",
  207. "markdown-it-emoji": "^2.0.0",
  208. "markdown-it-table-of-contents": "^0.5.2",
  209. "marked": "0.3.18",
  210. "merge2": "^1.2.1",
  211. "mini-css-extract-plugin": "^2.4.5",
  212. "minimist": "^1.2.0",
  213. "mkdirp": "^0.5.1",
  214. "mockdate": "^2.0.2",
  215. "moment": "^2.29.1",
  216. "nprogress": "^0.2.0",
  217. "object-assign": "^4.1.1",
  218. "postcss": "^8.2.12",
  219. "postcss-loader": "^6.0.0",
  220. "prettier": "^2.2.0",
  221. "pretty-quick": "^3.0.0",
  222. "prismjs": "^1.23.0",
  223. "qs": "^6.10.3",
  224. "raw-loader": "^4.0.2",
  225. "remark-frontmatter": "^2.0.0",
  226. "remark-parse": "^8.0.0",
  227. "remark-stringify": "^8.0.0",
  228. "remark-yaml-config": "^4.1.0",
  229. "remove-files-webpack-plugin": "^1.5.0",
  230. "reqwest": "^2.0.5",
  231. "rimraf": "^3.0.0",
  232. "rucksack-css": "^1.0.2",
  233. "selenium-server": "^3.0.1",
  234. "semver": "^7.0.0",
  235. "slash": "^3.0.0",
  236. "string-replace-loader": "^3.1.0",
  237. "style-loader": "^3.0.0",
  238. "stylelint": "^14.0.0",
  239. "stylelint-config-prettier": "^9.0.0",
  240. "stylelint-config-rational-order": "^0.1.2",
  241. "stylelint-config-standard": "^25.0.0",
  242. "stylelint-declaration-block-no-ignored-properties": "^2.1.0",
  243. "stylelint-order": "^5.0.0",
  244. "terser-webpack-plugin": "^5.1.1",
  245. "through2": "^3.0.0",
  246. "ts-jest": "^28.0.5",
  247. "ts-loader": "^9.1.0",
  248. "typescript": "~4.5.2",
  249. "umi-request": "^1.3.5",
  250. "unified": "9.2.2",
  251. "url-loader": "^3.0.0",
  252. "vite": "^3.0.0",
  253. "vue": "^3.2.0",
  254. "vue-antd-md-loader": "^1.2.1-beta.1",
  255. "vue-clipboard2": "0.3.3",
  256. "vue-drag-resize": "^2.0.3",
  257. "vue-eslint-parser": "^8.0.0",
  258. "vue-i18n": "^9.1.7",
  259. "vue-infinite-scroll": "^2.0.2",
  260. "vue-loader": "^17.0.0",
  261. "vue-request": "^1.0.2",
  262. "vue-router": "^4.0.0",
  263. "vue-server-renderer": "^2.6.11",
  264. "vue-style-loader": "^4.1.2",
  265. "vue-tsc": "^1.0.6",
  266. "vuex": "^4.0.0",
  267. "webpack": "^5.0.0",
  268. "webpack-bundle-analyzer": "^4.4.2",
  269. "webpack-cli": "^4.6.0",
  270. "webpack-dev-server": "^4.0.0",
  271. "webpack-merge": "^5.0.0",
  272. "webpackbar": "^5.0.2",
  273. "xhr-mock": "^2.5.1"
  274. },
  275. "dependencies": {
  276. "@ant-design/colors": "^6.0.0",
  277. "@ant-design/icons-vue": "^6.1.0",
  278. "@babel/runtime": "^7.10.5",
  279. "@ctrl/tinycolor": "^3.4.0",
  280. "@simonwep/pickr": "~1.8.0",
  281. "array-tree-filter": "^2.1.0",
  282. "async-validator": "^4.0.0",
  283. "dayjs": "^1.10.5",
  284. "dom-align": "^1.12.1",
  285. "dom-scroll-into-view": "^2.0.0",
  286. "lodash": "^4.17.21",
  287. "lodash-es": "^4.17.15",
  288. "resize-observer-polyfill": "^1.5.1",
  289. "scroll-into-view-if-needed": "^2.2.25",
  290. "shallow-equal": "^1.0.0",
  291. "vue-types": "^3.0.0",
  292. "warning": "^4.0.0"
  293. },
  294. "sideEffects": [
  295. "site/*",
  296. "components/style.ts",
  297. "components/**/style/*",
  298. "*.vue",
  299. "*.md",
  300. "dist/*",
  301. "es/**/style/*",
  302. "lib/**/style/*",
  303. "*.less"
  304. ],
  305. "vetur": {
  306. "tags": "vetur/tags.json",
  307. "attributes": "vetur/attributes.json"
  308. },
  309. "config": {
  310. "commitizen": {
  311. "path": "node_modules/cz-git",
  312. "czConfig": "./scripts/commitizen.js"
  313. }
  314. },
  315. "web-types": "vetur/web-types.json"
  316. }