This repository has been archived by the owner on Oct 10, 2018. It is now read-only.
/
package.json
197 lines (197 loc) · 6 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"name": "typescript-hero",
"displayName": "TypeScript Hero",
"description": "Additional tooling for the typescript language",
"icon": "etc/icon.png",
"galleryBanner": {
"color": "#1e324c",
"theme": "dark"
},
"version": "0.13.2",
"publisher": "rbbit",
"engines": {
"vscode": "^1.6.0",
"node": ">=6.0.0",
"npm": ">=3.9.5"
},
"categories": [
"Other",
"Languages"
],
"main": "./out/src/extension/extension",
"author": "Christoph Bühler <christoph.buehler@bluewin.ch>",
"contributors": [
{
"name": "Dominique Wirz",
"email": "dominique.wirz@gmail.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/buehler/typescript-hero.git"
},
"bugs": {
"url": "https://github.com/buehler/typescript-hero/issues"
},
"homepage": "https://buehler.github.io/typescript-hero/",
"scripts": {
"vscode:prepublish": "npm install && npm run build && npm prune --production",
"predevelop": "yarn del ./out",
"develop": "tsc",
"postinstall": "node ./node_modules/vscode/bin/install",
"pretest": "yarn del ./out && tsc -p ./config/tsconfig.test.json && yarn run lint",
"test": "node ./node_modules/vscode/bin/test",
"lint": "tslint -c tslint.json --project ./config/tsconfig.build.json",
"build": "yarn del ./out && tsc -p ./config/tsconfig.build.json",
"package": "yarn run build && yarn del './*.vsix' && vsce package"
},
"devDependencies": {
"@types/chai": "^4.0.0",
"@types/mocha": "^2.2.39",
"@types/node": "^7.0.27",
"@types/reflect-metadata": "0.0.5",
"@types/sinon": "^2.3.0",
"@types/sinon-chai": "^2.7.27",
"chai": "^4.0.1",
"del-cli": "^1.0.0",
"filewalker": "^0.1.3",
"mocha-testdata": "^1.2.0",
"sinon": "^2.3.2",
"sinon-chai": "^2.8.0",
"tslint": "^5.4.2",
"tslint-config-airbnb": "^5.0.1",
"tsutils": "^2.3.0",
"vscode": "^1.0.3"
},
"dependencies": {
"inversify": "^4.1.0",
"inversify-inject-decorators": "^3.0.1",
"reflect-metadata": "^0.1.9",
"ts-json-serializer": "^1.2.4",
"tslib": "^1.5.0",
"typescript": "^2.3.4",
"vscode-languageclient": "^3.0.4",
"vscode-languageserver": "^3.0.5",
"vscode-languageserver-types": "^3.0.3"
},
"activationEvents": [
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"contributes": {
"commands": [
{
"command": "typescriptHero.resolve.addImport",
"title": "Typescript: Add an import to current file"
},
{
"command": "typescriptHero.resolve.addImportUnderCursor",
"title": "Typescript: Adds the current symbol under the cursor as an import to current file"
},
{
"command": "typescriptHero.resolve.addMissingImports",
"title": "Typescript: Adds all missing imports for the open document"
},
{
"command": "typescriptHero.resolve.organizeImports",
"title": "Typescript: Organize imports (sort and remove unused)"
},
{
"command": "typescriptHero.resolve.rebuildCache",
"title": "Typescript: Rebuild the resolver cache"
},
{
"command": "typescriptHero.codeFix.executeCodeAction",
"title": "Typescript: Execute a code action"
}
],
"keybindings": [
{
"command": "typescriptHero.resolve.addImport",
"key": "ctrl+shift+i",
"when": "editorTextFocus"
},
{
"command": "typescriptHero.resolve.addImportUnderCursor",
"key": "ctrl+alt+i",
"when": "editorTextFocus"
},
{
"command": "typescriptHero.resolve.addMissingImports",
"key": "ctrl+alt+shift+i",
"when": "editorTextFocus"
},
{
"command": "typescriptHero.resolve.organizeImports",
"key": "ctrl+alt+o",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "TypeScript Hero",
"properties": {
"typescriptHero.verbosity": {
"enum": [
"Nothing",
"Errors",
"Warnings",
"All"
],
"default": "Warnings",
"description": "Defines the log output level in the output window."
},
"typescriptHero.resolver.insertSpaceBeforeAndAfterImportBraces": {
"type": "boolean",
"default": true,
"description": "Defines if there should be a space inside the curly braces of an import statement."
},
"typescriptHero.resolver.insertSemicolons": {
"type": "boolean",
"default": true,
"description": "Defines if there should be a semicolon at the end of a statement."
},
"typescriptHero.resolver.stringQuoteStyle": {
"enum": [
"'",
"\""
],
"default": "'",
"description": "Defines if single or double quotes should be used."
},
"typescriptHero.resolver.ignorePatterns": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"default": [
"build",
"out",
"dist"
],
"description": "Defines partial pathes that are ignored during indexing (e.g. 'node_modules' would exclude all modules)."
},
"typescriptHero.resolver.multiLineWrapThreshold": {
"type": "number",
"minimum": 1,
"multipleOf": 1,
"default": 120,
"description": "Defines the threshold when an import should be wrapped into a multiline import."
},
"typescriptHero.resolver.newImportLocation": {
"enum": [
"TopOfFile",
"AtCursorLocation"
],
"default": "TopOfFile",
"description": "Defines the location of new imports."
},
"typescriptHero.resolver.disableImportsSorting": {
"type": "boolean",
"default": false,
"description": "Defines if sorting is disable during organize imports"
}
}
}
}
}