package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "vant",
  3. "version": "3.6.10",
  4. "description": "Lightweight 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. "npm": {
  16. "tag": "latest-v3"
  17. },
  18. "scripts": {
  19. "dev": "vant-cli dev",
  20. "lint": "vant-cli lint",
  21. "test": "vant-cli test",
  22. "build": "vant-cli build",
  23. "build:site": "vant-cli build-site",
  24. "release": "cp ../../README.md ./ && vant-cli release --tag latest-v3 && rm ./README.md",
  25. "release:site": "pnpm build:site && npx gh-pages -d site-dist --add",
  26. "test:watch": "vant-cli test --watch",
  27. "test:coverage": "open test/coverage/index.html"
  28. },
  29. "publishConfig": {
  30. "registry": "https://registry.npmjs.org/"
  31. },
  32. "repository": {
  33. "type": "git",
  34. "url": "https://github.com/vant-ui/vant.git",
  35. "directory": "packages/vant"
  36. },
  37. "bugs": "https://github.com/vant-ui/vant/issues",
  38. "author": "chenjiahan",
  39. "license": "MIT",
  40. "keywords": [
  41. "ui",
  42. "vue",
  43. "vue3",
  44. "mobile",
  45. "frontend",
  46. "component",
  47. "components"
  48. ],
  49. "dependencies": {
  50. "@vant/icons": "^1.8.0",
  51. "@vant/popperjs": "^1.2.1",
  52. "@vant/use": "^1.4.2"
  53. },
  54. "peerDependencies": {
  55. "vue": "^3.0.0"
  56. },
  57. "devDependencies": {
  58. "@types/node": "^16.11.56",
  59. "@types/jest": "^27.0.0",
  60. "@vant/area-data": "workspace:*",
  61. "@vant/cli": "workspace:*",
  62. "@vant/eslint-config": "workspace:*",
  63. "@vue/runtime-core": "^3.2.38",
  64. "@vue/test-utils": "^2.0.2",
  65. "typescript": "^4.8.2",
  66. "vue": "^3.2.38",
  67. "vue-router": "^4.1.5"
  68. },
  69. "sideEffects": [
  70. "es/**/style/*",
  71. "lib/**/style/*",
  72. "*.css",
  73. "*.less"
  74. ],
  75. "web-types": "lib/web-types.json"
  76. }