1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
| {
| "name": "vant",
| "version": "2.13.7",
| "description": "Mobile UI Components built on Vue",
| "main": "lib/index.js",
| "module": "es/index.js",
| "style": "lib/index.css",
| "typings": "types/index.d.ts",
| "files": [
| "es",
| "lib",
| "types",
| "vetur"
| ],
| "npm": {
| "tag": "latest-v2"
| },
| "publishConfig": {
| "registry": "https://registry.npmjs.org/"
| },
| "scripts": {
| "bootstrap": "yarn || npm i",
| "dev": "vant-cli dev",
| "lint": "vant-cli lint",
| "test": "vant-cli test",
| "build": "vant-cli build",
| "release": "vant-cli release --tag latest-v2",
| "test:watch": "vant-cli test --watch",
| "release:site": "sh docs/site/release.sh",
| "test:coverage": "open test/coverage/index.html"
| },
| "husky": {
| "hooks": {
| "pre-commit": "lint-staged",
| "commit-msg": "vant-cli commit-lint"
| }
| },
| "lint-staged": {
| "*.md": "prettier --write",
| "*.{ts,tsx,js,vue,less}": "prettier --write",
| "*.{ts,tsx,js,vue}": "eslint --fix",
| "*.{vue,css,less}": "stylelint --fix"
| },
| "repository": {
| "type": "git",
| "url": "git@github.com:vant-ui/vant.git"
| },
| "keywords": [
| "ui",
| "vue",
| "frontend",
| "mobile ui",
| "component",
| "components"
| ],
| "author": "youzanfe",
| "license": "MIT",
| "dependencies": {
| "@babel/runtime": "7.x",
| "@vant/icons": "^3.0.2",
| "@vant/popperjs": "^1.1.0",
| "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
| "vue-lazyload": "1.2.3"
| },
| "peerDependencies": {
| "vue": ">= 2.6.0"
| },
| "devDependencies": {
| "@vant/cli": "^2.11.11",
| "prettier": "2.1.0",
| "vue": "^2.6.12",
| "vue-template-compiler": "^2.6.12"
| },
| "sideEffects": [
| "es/**/style/*",
| "lib/**/style/*",
| "*.css",
| "*.less"
| ],
| "vetur": {
| "tags": "vetur/tags.json",
| "attributes": "vetur/attributes.json"
| },
| "web-types": "vetur/web-types.json",
| "eslintConfig": {
| "root": true,
| "extends": [
| "@vant"
| ]
| },
| "stylelint": {
| "extends": [
| "@vant/stylelint-config"
| ]
| },
| "prettier": {
| "singleQuote": true,
| "proseWrap": "never"
| },
| "browserslist": [
| "Android >= 4.0",
| "iOS >= 8"
| ]
| }
|
|