/
package.json
78 lines (78 loc) · 1.66 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
{
"name": "vue-router-prefetch",
"version": "0.0.0",
"description": "Prefetch the route components of router-link in viewport.",
"main": "dist/index.js",
"module": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"test": "npm run lint",
"lint": "xo",
"build": "bili --js buble --format es --filename index.js",
"prepublishOnly": "npm run build",
"example": "poi example/index.js --serve --jsx vue",
"commit": "git-cz"
},
"repository": {
"url": "egoist/vue-router-prefetch",
"type": "git"
},
"author": "egoist<0x142857@gmail.com>",
"license": "MIT",
"devDependencies": {
"bili": "^3.4.2",
"commitizen": "^3.0.5",
"cz-conventional-changelog": "^2.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-rem": "^4.0.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-vue": "^5.1.0",
"husky": "^1.0.0-rc.13",
"lint-staged": "^7.2.0",
"poi": "^12.4.6",
"prettier": "^1.15.2",
"semantic-release": "^15.13.3",
"vue": "^2.5.22",
"vue-router": "^3.0.2",
"vue-template-compiler": "^2.5.22",
"xo": "^0.23.0"
},
"xo": {
"extends": [
"rem",
"plugin:vue/recommended",
"plugin:prettier/recommended"
],
"envs": [
"browser"
],
"rules": {
"no-new": "off"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"release": {
"branch": "master"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}