package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "vant",
  3. "version": "4.9.9",
  4. "description": "Mobile UI Components built on Vue",
  5. "main": "lib/vant.cjs.js",
  6. "module": "es/index.mjs",
  7. "style": "lib/index.css",
  8. "typings": "lib/index.d.ts",
  9. "unpkg": "lib/vant.min.js",
  10. "jsdelivr": "lib/vant.min.js",
  11. "files": [
  12. "es",
  13. "lib"
  14. ],
  15. "publishConfig": {
  16. "registry": "https://registry.npmjs.org/"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/vant-ui/vant.git",
  21. "directory": "packages/vant"
  22. },
  23. "bugs": "https://github.com/vant-ui/vant/issues",
  24. "author": "chenjiahan",
  25. "license": "MIT",
  26. "keywords": [
  27. "ui",
  28. "vue",
  29. "vue3",
  30. "mobile",
  31. "frontend",
  32. "component",
  33. "components"
  34. ],
  35. "dependencies": {
  36. "@vue/shared": "^3.5.12",
  37. "@vant/popperjs": "^1.3.0",
  38. "@vant/use": "^1.6.0"
  39. },
  40. "peerDependencies": {
  41. "vue": "^3.0.0"
  42. },
  43. "devDependencies": {
  44. "@types/node": "^22.9.0",
  45. "@vitejs/plugin-vue": "^5.2.0",
  46. "@vitejs/plugin-vue-jsx": "^4.1.0",
  47. "@vitest/coverage-istanbul": "^2.1.5",
  48. "@vue/runtime-core": "^3.5.12",
  49. "@vue/test-utils": "^2.4.6",
  50. "csstype": "^3.1.3",
  51. "diffable-html": "^5.0.0",
  52. "jsdom": "^25.0.1",
  53. "typescript": "^5.6.3",
  54. "vite": "^5.4.11",
  55. "vitest": "^2.1.5",
  56. "vitest-canvas-mock": "^0.3.3",
  57. "vue": "^3.5.12",
  58. "vue-router": "^4.4.5",
  59. "@vant/area-data": "2.0.0",
  60. "@vant/eslint-config": "4.0.0",
  61. "@vant/cli": "7.1.0",
  62. "@vant/icons": "3.0.2"
  63. },
  64. "sideEffects": [
  65. "es/**/style/*",
  66. "lib/**/style/*",
  67. "*.css"
  68. ],
  69. "web-types": "lib/web-types.json",
  70. "scripts": {
  71. "dev": "vant-cli dev",
  72. "lint": "vant-cli lint",
  73. "test": "vitest run",
  74. "build": "vant-cli build",
  75. "build:site": "vant-cli build-site",
  76. "release": "cp ../../README.md ./ && vant-cli release --gitTag && rm ./README.md",
  77. "release:site": "pnpm build:site && npx gh-pages -d site-dist --add",
  78. "test:update": "vitest run -u",
  79. "test:watch": "vitest",
  80. "test:coverage": "vitest run --coverage",
  81. "open:coverage": "open test/coverage/lcov-report/index.html"
  82. }
  83. }