Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 4.72 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 4.72 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
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
{
"name": "ts-inline-types",
"description": "A Visual Studio Code extension to render inferred types in TypeScript/Javascript documents.",
"author": "Martin Johns and Tobias Koppers",
"license": "MIT",
"version": "1.1.0",
"publisher": "sokra",
"engines": {
"vscode": "^1.39.0"
},
"activationEvents": [
"onLanguage:typescript",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact"
],
"main": "./out/src/extension",
"scripts": {
"vscode:prepublish": "yarn clean && yarn compile",
"clean": "rimraf out/ *.vsix",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"update-vscode": "node ./node_modules/vscode/bin/install",
"postinstall": "node ./node_modules/vscode/bin/install",
"prerelease": "vsce package --yarn"
},
"dependencies": {
"chalk": "^3.0.0",
"typescript": "^3.7.2"
},
"devDependencies": {
"@types/node": "^13.1.8",
"rimraf": "^3.0.0",
"vsce": "^1.69.0",
"vscode": "^1.1.36"
},
"repository": {
"type": "git",
"url": "https://github.com/sokra/vscode-inline-types"
},
"contributes": {
"configuration": {
"type": "object",
"title": "inline-types extension configuration",
"properties": {
"inlineTypes.features.variableType": {
"type": "boolean",
"default": true,
"description": "Render the type of variables (unless they're functions)."
},
"inlineTypes.features.functionVariableType": {
"type": "boolean",
"default": false,
"description": "Render the type of variables even when they're functions."
},
"inlineTypes.features.functionReturnType": {
"type": "boolean",
"default": true,
"description": "Render the return type of functions."
},
"inlineTypes.features.functionParameterType": {
"type": "boolean",
"default": true,
"description": "Render the type of function parameters."
},
"inlineTypes.features.propertyType": {
"type": "boolean",
"default": true,
"description": "Render the type of properties."
},
"inlineTypes.features.objectPatternType": {
"type": "boolean",
"default": true,
"description": "Render the type of properties in object pattern."
},
"inlineTypes.features.arrayPatternType": {
"type": "boolean",
"default": true,
"description": "Render the type of items in array pattern."
},
"inlineTypes.features.objectLiteralType": {
"type": "boolean",
"default": true,
"description": "Render the type of items in object literals."
},
"inlineTypes.features.parameterName": {
"type": "boolean",
"default": true,
"description": "Render the names of parameters in function calls."
},
"inlineTypes.features.highlightAny": {
"type": "boolean",
"default": true,
"description": "Render an inferred 'any' type with a warning color."
},
"inlineTypes.features.showIncompleteInfo": {
"type": "boolean",
"default": false,
"description": "Render a '...' during type computation."
},
"inlineTypes.updateDelay": {
"type": "integer",
"default": 50,
"minimum": 0,
"description": "A delay for propagating decoration updates to the editor in milliseconds."
},
"inlineTypes.lightThemeDecorationStyle.opacity": {
"type": "number",
"description": "Opacity used for the decoration in light theme.",
"default": 0.5
},
"inlineTypes.lightThemeDecorationStyle.color": {
"type": "string",
"description": "The color used for the decoration in light theme.",
"default": "black"
},
"inlineTypes.lightThemeDecorationStyle.warnColor": {
"type": "string",
"description": "The color used for warning decorations in light theme.",
"default": "#FF2400"
},
"inlineTypes.darkThemeDecorationStyle.opacity": {
"type": "number",
"description": "Opacity used for the decoration in dark theme.",
"default": 0.5
},
"inlineTypes.darkThemeDecorationStyle.color": {
"type": "string",
"description": "The color used for the decoration in dark theme.",
"default": "white"
},
"inlineTypes.darkThemeDecorationStyle.warnColor": {
"type": "string",
"description": "The color used for warning decorations in dark theme.",
"default": "#FF2400"
}
}
}
}
}