package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "antd-mini",
  3. "version": "2.32.0",
  4. "description": "antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。",
  5. "miniprogram": "compiled/wechat/src",
  6. "scripts": {
  7. "dev": "tsx ./scripts/dev.ts",
  8. "build:tsxml": "tsx ./scripts/compile-tsxml.ts",
  9. "transform": "tsx ./scripts/transform.ts",
  10. "generate": "tsx ./scripts/generate.ts",
  11. "dev:doc": "node ./scripts/dev-doc.js",
  12. "build": "npm run build:tsxml && node ./scripts/build.js",
  13. "deploy:docs": "npm run build && echo 'mini.ant.design' > ./docs-dist/CNAME && gh-pages -d docs-dist",
  14. "changelog": "auto-changelog -p --ignore-commit-pattern \"chore\\(release\\)\"",
  15. "prepublishOnly": "npm run build",
  16. "pub": "node scripts/publish.js",
  17. "test": "vitest run",
  18. "check-compiled": "tsx ./scripts/check-compiled.ts",
  19. "cov": "vitest run --coverage && tsx ./scripts/patch-coverage.ts"
  20. },
  21. "gitHooks": {
  22. "pre-commit": "lint-staged",
  23. "commit-msg": "node scripts/verifyCommitMsg.js"
  24. },
  25. "lint-staged": {
  26. "*.ts": [
  27. "eslint --ext .ts"
  28. ],
  29. "*.js": [
  30. "eslint --ext .js"
  31. ]
  32. },
  33. "dependencies": {
  34. "@mini-types/alipay": "^3.0.5",
  35. "async-validator": "^4.0.7",
  36. "dayjs": "^1.11.3",
  37. "fast-deep-equal": "3.1.3",
  38. "tslib": "2.5.0"
  39. },
  40. "overrides": {
  41. "get-func-name": "2.0.0"
  42. },
  43. "devDependencies": {
  44. "@babel/code-frame": "^7.22.13",
  45. "@babel/core": "^7.22.20",
  46. "@babel/generator": "^7.22.15",
  47. "@babel/parser": "^7.22.16",
  48. "@babel/preset-env": "^7.22.20",
  49. "@babel/preset-typescript": "^7.22.15",
  50. "@diamondyuan/gulp-ifdef": "^0.3.0",
  51. "@types/gulp": "^4.0.13",
  52. "@types/less": "^3.0.3",
  53. "@types/node": "^20.14.2",
  54. "@types/through2": "^2.0.39",
  55. "@typescript-eslint/eslint-plugin": "^5.6.0",
  56. "@typescript-eslint/parser": "^5.6.0",
  57. "@vitest/coverage-istanbul": "^1.5.0",
  58. "antd": "^4.20.7",
  59. "auto-changelog": "^2.4.0",
  60. "chalk": "^4.1.0",
  61. "clone-deep": "^4.0.1",
  62. "conventional-changelog-cli": "^2.1.1",
  63. "copy-to-clipboard": "^3.3.3",
  64. "dumi": "^1.1.35",
  65. "esbuild": "^0.19.2",
  66. "eslint": "^8.4.1",
  67. "eslint-config-ali": "^13.0.0",
  68. "eslint-config-prettier": "^8.3.0",
  69. "eslint-plugin-import": "^2.25.3",
  70. "extract-changelog-release": "^1.0.2",
  71. "gh-pages": "^3.0.0",
  72. "glob": "^9.0.1",
  73. "gulp": "^4.0.2",
  74. "gulp-babel": "^8.0.0",
  75. "gulp-changed": "^4.0.3",
  76. "gulp-clean-css": "^4.0.0",
  77. "gulp-debug": "^4.0.0",
  78. "gulp-ifdef": "^0.2.0",
  79. "gulp-inject-envs": "^1.0.0",
  80. "gulp-less": "^5.0.0",
  81. "gulp-rename": "^1.2.3",
  82. "gulp-typescript": "^6.0.0-alpha.1",
  83. "gulp-watch": "^5.0.1",
  84. "inquirer": "^8.2.1",
  85. "istanbul-lib-coverage": "^3.2.0",
  86. "less": "^4.1.2",
  87. "lint-staged": "^10.0.7",
  88. "merge2": "^1.4.1",
  89. "minidev": "^1.0.7",
  90. "postcss-less": "^6.0.0",
  91. "pre-commit": "^1.2.2",
  92. "prettier": "^2.2.1",
  93. "qrcode.react": "^3.1.0",
  94. "resize-observer-polyfill": "^1.5.1",
  95. "shallowequal": "^1.1.0",
  96. "stylelint": "^14.1.0",
  97. "stylelint-config-standard": "^24.0.0",
  98. "tsx": "^4.6.2",
  99. "typescript": "^4.0.0",
  100. "vitest": "^1.5.0",
  101. "yorkie": "^2.0.0"
  102. },
  103. "files": [
  104. "es",
  105. "less",
  106. "compiled/wechat/src"
  107. ],
  108. "repository": {
  109. "type": "git",
  110. "url": "git+https://github.com/ant-design/ant-design-mini.git",
  111. "branch": "master",
  112. "platform": "github"
  113. },
  114. "bugs": {
  115. "url": "https://github.com/ant-design/ant-design-mini/issues"
  116. },
  117. "keywords": [
  118. "ant-mini",
  119. "mini-program",
  120. "mini-ali-ui",
  121. "mini-antui",
  122. "alipay"
  123. ],
  124. "license": "MIT",
  125. "homepage": "https://github.com/ant-design/ant-design-mini"
  126. }