-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
120 lines (120 loc) · 3.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
{
"name": "inline-types",
"description": "A Visual Studio Code extension to render inferred types in TypeScript documents.",
"author": "Martin Johns",
"license": "MIT",
"version": "0.3.0",
"publisher": "MartinJohns",
"engines": {
"vscode": "^1.20.0"
},
"activationEvents": [
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"main": "./out/src/extension",
"scripts": {
"vscode:prepublish": "npm run clean && npm install && npm run compile",
"clean": "rm -rf out/ node_modules/ *.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",
"release": "standard-version"
},
"dependencies": {
"chalk": "2.4.1",
"typescript": "2.8.1",
"vscode": "1.1.18"
},
"devDependencies": {
"@types/node": "9.6.1",
"cz-conventional-changelog": "2.1.0",
"standard-version": "4.4.0",
"vsce": "1.37.6"
},
"repository": {
"type": "git",
"url": "https://github.com/MartinJohns/vscode-inline-types"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"standard-version": {
"scripts": {
"postbump": "vsce package"
}
},
"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 arrow functions)."
},
"inlineTypes.features.arrowFunctionVariable": {
"type": "boolean",
"default": false,
"description": "Render the type of variables even when they're arrow 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.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.updateDelay": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "A delay for propagating decoration updates to the editor in milliseconds."
},
"inlineTypes.decorationStyle": {
"type": "object",
"description": "Style used for the decorations.",
"properties": {
"opacity": {
"type": "number",
"description": "Opacity used for the decoration.",
"default": 0.5
},
"color": {
"type": "string",
"description": "The color used for the decoration."
},
"warnColor": {
"type": "string",
"description": "The color used for warning decorations.",
"default": "#FF2400"
}
}
}
}
}
}
}