forked from youzan/vant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 2.02 KB
/
package.json
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
{
"name": "vant",
"version": "2.5.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"
],
"scripts": {
"bootstrap": "yarn || npm i",
"dev": "vant-cli dev",
"lint": "vant-cli lint && ls-lint",
"test": "vant-cli test",
"build": "vant-cli build",
"release": "vant-cli release",
"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 && ls-lint",
"commit-msg": "vant-cli commit-lint"
}
},
"lint-staged": {
"*.{ts,tsx,js,vue,less}": [
"prettier --write",
"git add"
],
"*.{ts,tsx,js,vue}": [
"eslint --fix",
"git add"
],
"*.{vue,css,less}": [
"stylelint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "[email protected]:youzan/vant.git"
},
"keywords": [
"vue",
"component"
],
"author": "youzanfe",
"license": "MIT",
"dependencies": {
"@babel/runtime": "7.x",
"@vant/icons": "1.2.1",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"vue-lazyload": "1.2.3"
},
"peerDependencies": {
"vue": ">= 2.5.22"
},
"devDependencies": {
"@ls-lint/ls-lint": "^1.8.0",
"@vant/cli": "^2.3.0",
"vue": "^2.6.11",
"vue-template-compiler": "^2.6.11"
},
"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,
"trailingComma": "es5"
},
"browserslist": [
"Android >= 4.0",
"iOS >= 8"
]
}