-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 4.64 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "createvueclasscomponent",
"displayName": "CreateVueClassComponent",
"description": "create vue class component",
"icon": "images/vue_logo.png",
"version": "0.2.4",
"publisher": "pengfeiyuan",
"engines": {
"vscode": "^1.57.0"
},
"categories": [
"Snippets",
"Other"
],
"repository": {
"url": "https://github.com/GitHubJiKe/createvueclasscomponent"
},
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"commands": [
{
"command": "createvueclasscomponent.create",
"title": "Create Vue Class Component"
},
{
"command": "createvueclasscomponent.check",
"title": "Check Vue Filename"
}
],
"contributes": {
"commands": [
{
"command": "createvueclasscomponent.create",
"title": "Create Vue Class Component"
},
{
"command": "createvueclasscomponent.check",
"title": "Check Vue Filename"
}
],
"keybindings": [
{
"command": "createvueclasscomponent.create",
"when": "explorerResourceIsFolder || resourceScheme == file"
},
{
"command": "createvueclasscomponent.check",
"when": "explorerResourceIsFolder || resourceScheme == file"
}
],
"menus": {
"editor/context": [
{
"command": "createvueclasscomponent.create",
"group": "navigation"
},
{
"command": "createvueclasscomponent.check",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "createvueclasscomponent.create",
"group": "navigation"
},
{
"command": "createvueclasscomponent.check",
"group": "navigation"
}
]
},
"configuration": [
{
"title": "CreateVueClassComponent",
"properties": {
"check.ignoreFilename": {
"type": "array",
"default": [
"index"
],
"description": "ignore filename to check and rename"
}
}
},
{
"title": "CreateVueClassComponent",
"properties": {
"create.templatePath": {
"type": "string",
"default": null,
"description": "custom your snippets code template file"
}
}
}
],
"snippets": [
{
"language": "typescript",
"path": "./snippets/vue-class-component-lifecircle.json"
},
{
"language": "javascript",
"path": "./snippets/vue-class-component-lifecircle.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run -S esbuild-base -- --sourcemap",
"esbuild-watch": "npm run -S esbuild-base -- --sourcemap --watch",
"prepare": "husky install"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/uppercamelcase": "^3.0.0",
"@types/vscode": "^1.57.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"esbuild": "^0.12.8",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"mocha": "^8.4.0",
"prettier": "^2.3.1",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@types/lodash": "^4.14.170",
"lodash": "^4.17.21",
"uppercamelcase": "^3.0.0"
}
}