forked from lannonbr/vscode-js-annotations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.61 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
{
"name": "vscode-js-annotations",
"displayName": "JS Parameter Annotations",
"description": "Annotations for parameters in your JS / TS Files to mimic named parameters",
"version": "0.11.0",
"publisher": "lannonbr",
"engines": {
"vscode": "^1.25.0"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lannonbr/vscode-js-annotations"
},
"categories": [
"Other"
],
"homepage": "https://github.com/lannonbr/vscode-js-annotations",
"bugs": {
"url": "https://github.com/lannonbr/vscode-js-annotations/issues"
},
"activationEvents": [
"*"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "jsannotations.toggle",
"title": "JS Annotations: Hide / Show Annotations"
}
],
"configuration": [
{
"title": "JS Annotations",
"properties": {
"jsannotations.enabled": {
"type": "boolean",
"description": "Enable JS Annotations",
"default": true
},
"jsannotations.hideInvalidAnnotation": {
"type": "boolean",
"description": "Hide annotations for invalid params",
"default": true
},
"jsannotations.hideDiagnostics": {
"type": "boolean",
"description": "Hide red squiggles under invalid parameters",
"default": false
},
"jsannotations.hideIfEqual": {
"type": "boolean",
"description": "Hide annotation if argument name matches parameter name",
"default": true
},
"jsannotations.fontWeight": {
"type": "string",
"default": "400",
"enum": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900"
],
"description": "Annotation styling of font-weight CSS property"
},
"jsannotations.fontStyle": {
"type": "string",
"default": "italic",
"enum": [
"normal",
"italic"
],
"description": "Annotation styling of font-style CSS property"
},
"jsannotations.showFirstSpace": {
"type": "boolean",
"description": "Show leading whitespace for first parameter",
"default": true
}
}
}
],
"colors": [
{
"id": "jsannotations.annotationForeground",
"description": "Specifies the foreground color for the annotations",
"defaults": {
"dark": "#ccc",
"light": "#444",
"highContrast": "#444"
}
}
],
"keybindings": [
{
"command": "jsannotations.toggle",
"key": "ctrl+k a",
"mac": "cmd+k a"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"test:unit": "MOCHA_GREP=\"@unit\" npm test --silent",
"lint": "node ./node_modules/.bin/tslint --project ."
},
"devDependencies": {
"@types/mocha": "^5.0.0",
"@types/node": "^7.0.43",
"husky": "^1.0.1",
"typescript": "^3.0.0",
"vscode": "^1.1.30"
},
"dependencies": {
"babylon": "^7.0.0-beta.47",
"recast": "^0.16.0",
"tslint": "5.12.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}