forked from youzan/vant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.58 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "vant",
"version": "2.1.0-beta.2",
"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": "npm run build:entry && webpack-dev-server --config build/webpack.dev.js",
"lint": "eslint ./src --ext .js,.vue,.ts,.tsx && stylelint \"src/**/*.less\" --fix",
"build:entry": "node build/build-entry.js",
"build:changelog": "vant-doc changelog ./docs/markdown/changelog.generated.md --tag 2.0.0",
"build:lib": "node build/build-lib.js",
"build:site": "rm -rf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js && gh-pages -d docs/dist --add",
"test": "jest",
"test:watch": "jest --watch",
"test:clear-cache": "jest --clearCache",
"test:coverage": "open test/coverage/index.html",
"release": "sh build/release.sh"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,vue}": [
"eslint",
"git add"
],
"*.{vue,css}": [
"stylelint",
"git add"
]
},
"repository": {
"type": "git",
"url": "[email protected]:youzan/vant.git"
},
"keywords": [
"vue",
"component"
],
"author": "youzanfe",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.5.5",
"@vant/icons": "1.1.9",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"vue-lazyload": "1.2.3"
},
"peerDependencies": {
"vue": ">= 2.5.0"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/plugin-transform-object-assign": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.3.3",
"@types/jest": "^24.0.15",
"@vant/doc": "^2.3.6",
"@vant/eslint-config": "^1.2.3",
"@vant/markdown-loader": "^2.2.0",
"@vant/markdown-vetur": "^1.0.0",
"@vant/touch-emulator": "^1.1.0",
"@vue/babel-preset-jsx": "^1.1.0",
"@vue/test-utils": "^1.0.0-beta.29",
"autoprefixer": "^9.6.1",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"codecov": "^3.5.0",
"cross-env": "^5.2.0",
"css-loader": "^3.1.0",
"csso": "^3.5.1",
"dependency-tree": "^7.0.2",
"eslint": "^6.1.0",
"fast-glob": "^3.0.4",
"gh-pages": "^2.0.1",
"html-webpack-plugin": "3.2.0",
"husky": "^3.0.1",
"jest": "^24.8.0",
"jest-serializer-vue": "^2.0.2",
"less": "^3.8.1",
"less-loader": "^5.0.0",
"lint-staged": "^9.2.1",
"postcss": "^7.0.17",
"postcss-loader": "^3.0.0",
"progress-bar-webpack-plugin": "^1.12.1",
"shelljs": "^0.8.3",
"signale": "^1.4.0",
"style-loader": "^0.23.1",
"stylelint": "^10.1.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^3.0.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3",
"uppercamelcase": "^3.0.0",
"vue": "2.6.10",
"vue-jest": "4.0.0-beta.2",
"vue-loader": "^15.7.1",
"vue-router": "^3.0.7",
"vue-template-compiler": "2.6.10",
"webpack": "4.37.0",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "3.7.2"
},
"sideEffects": [
"es/**/style/*",
"lib/**/style/*",
"*.css",
"*.less"
],
"vetur": {
"tags": "vetur/tags.json",
"attributes": "vetur/attributes.json"
},
"browserslist": [
"Android >= 4.0",
"iOS >= 7"
]
}