package.json 1.7 KB

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