-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.28 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.28 KB
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
{
"name": "quick-vue-template",
"displayName": "quick-vue-template",
"description": "快速生成vue模板",
"version": "0.0.2",
"publisher": "jingping-ye",
"engines": {
"vscode": "^1.47.0"
},
"repository": {
"type": "git",
"url": "https://github.com/jingping-ye/quick-vue-template-ext.git"
},
"icon": "images/icon.png",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:quick-vue-template.createComp",
"onCommand:quick-vue-template.createMock",
"onCommand:quick-vue-template.createApi",
"onCommand:quick-vue-template.createRouter",
"onCommand:quick-vue-template.createVuex"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "quick-vue-template.createComp",
"title": "生成Vue组件"
},
{
"command": "quick-vue-template.createMock",
"title": "生成Mock服务模板"
},
{
"command": "quick-vue-template.createApi",
"title": "生成API模板"
},
{
"command": "quick-vue-template.createRouter",
"title": "生成路由模板"
},
{
"command": "quick-vue-template.createVuex",
"title": "生成Vuex模板"
}
],
"keybindings": [],
"menus": {
"editor/context": [
{
"when": "editorFocus && resourceLangId == vue ",
"command": "quick-vue-template.createComp",
"group": "1_modification"
},
{
"when": "editorFocus && resourceLangId == javascript",
"command": "quick-vue-template.createMock",
"group": "1_modification"
},
{
"when": "editorFocus && resourceLangId == javascript",
"command": "quick-vue-template.createApi",
"group": "1_modification"
},
{
"when": "editorFocus && resourceLangId == javascript",
"command": "quick-vue-template.createRouter",
"group": "1_modification"
},
{
"when": "editorFocus && resourceLangId == javascript",
"command": "quick-vue-template.createVuex",
"group": "1_modification"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.47.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
}
}