-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.88 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
{
"name": "VarStyle",
"displayName": "Var Style",
"description": "change variable style",
"version": "0.0.5",
"publisher": "allen",
"repository": {
"type": "git",
"url": "https://github.com/YiNanKai/vscode-var-style"
},
"engines": {
"vscode": "^1.64.0"
},
"icon": "icon.png",
"categories": [
"Formatters"
],
"activationEvents": [
"onCommand:extension.camelStyle",
"onCommand:extension.phpStyle",
"onCommand:extension.constantStyle",
"onCommand:extension.pascalStyle",
"onCommand:extension.kebabStyle"
],
"browser": "./dist/web/extension.js",
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.camelStyle",
"title": "Camel Style",
"category": "Var Style"
},
{
"command": "extension.phpStyle",
"title": "Php Style",
"category": "Var Style"
},
{
"command": "extension.constantStyle",
"title": "Constant Style",
"category": "Var Style"
},
{
"command": "extension.pascalStyle",
"title": "Pascal Style",
"category": "Var Style"
},
{
"command": "extension.kebabStyle",
"title": "Kebab Style",
"category": "Var Style"
}
],
"keybindings": [
{
"command": "extension.camelStyle",
"key": "shift+alt+q",
"when": "editorHasSelection"
},
{
"command": "extension.phpStyle",
"key": "shift+alt+w",
"when": "editorHasSelection"
},
{
"command": "extension.constantStyle",
"key": "shift+alt+e",
"when": "editorHasSelection"
},
{
"command": "extension.pascalStyle",
"key": "shift+alt+r",
"when": "editorHasSelection"
},
{
"command": "extension.kebabStyle",
"key": "shift+alt+t",
"when": "editorHasSelection"
}
]
},
"scripts": {
"test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
"pretest": "npm run compile-web",
"vscode:prepublish": "npm run package-web",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map",
"lint": "eslint src --ext ts",
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
},
"devDependencies": {
"@types/vscode": "^1.64.0",
"@types/mocha": "^9.0.0",
"eslint": "^8.6.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"mocha": "^9.1.3",
"typescript": "^4.5.4",
"@vscode/test-web": "^0.0.15",
"ts-loader": "^9.2.6",
"webpack": "^5.66.0",
"webpack-cli": "^4.9.1",
"@types/webpack-env": "^1.16.3",
"assert": "^2.0.0",
"process": "^0.11.10"
}
}