forked from neild3r/vscode-php-docblocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
181 lines (181 loc) · 5.55 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
{
"name": "php-docblocker",
"displayName": "PHP DocBlocker",
"description": "A simple, dependency free PHP specific DocBlocking package",
"version": "2.7.0",
"license": "MIT",
"publisher": "neilbrayfield",
"author": "Neil Brayfield <[email protected]>",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"php",
"autocomplete",
"docblock"
],
"activationEvents": [
"onLanguage:php",
"onLanguage:hack"
],
"repository": {
"type": "git",
"url": "https://github.com/neild3r/vscode-php-docblocker.git"
},
"bugs": {
"url": "https://github.com/neild3r/vscode-php-docblocker/issues"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"extensionKind": [
"workspace",
"ui"
],
"icon": "images/logo.png",
"browser": "./out/src/extension.js",
"main": "./out/src/extension.js",
"contributes": {
"commands": [
{
"command": "php-docblocker.trigger",
"title": "Insert PHP Docblock"
}
],
"configuration": {
"type": "object",
"title": "PHP DocBlocker",
"properties": {
"php-docblocker.gap": {
"type": "boolean",
"default": true,
"description": "If there should be a gap between the description and tags"
},
"php-docblocker.returnGap": {
"type": "boolean",
"default": false,
"description": "If there should be a gap between params and return"
},
"php-docblocker.defaultType": {
"type": "string",
"default": "[type]",
"description": "Default type to use if a type wasn't able to be detected"
},
"php-docblocker.returnVoid": {
"type": "boolean",
"default": true,
"description": "Should we return void if there is no detectable return type?"
},
"php-docblocker.extra": {
"type": "array",
"default": [],
"description": "Extra tags you wish to include in every DocBlock"
},
"php-docblocker.useShortNames": {
"type": "boolean",
"default": false,
"description": "Whether you want to use int instead of integer and bool instead of boolean."
},
"php-docblocker.qualifyClassNames": {
"type": "boolean",
"default": false,
"description": "Fully qualifies any data types used in param and returns by reading the namespaces."
},
"php-docblocker.alignParams": {
"type": "boolean",
"default": false,
"description": "Vertically aligns param types and names with additional spaces."
},
"php-docblocker.alignReturn": {
"type": "boolean",
"default": false,
"description": "Vertically aligns return with above param statements."
},
"php-docblocker.varDescription": {
"type": [
"string",
"boolean"
],
"default": false,
"description": "Include a description placeholder for @var tags"
},
"php-docblocker.paramDescription": {
"type": [
"string",
"boolean"
],
"default": false,
"description": "Include a description placeholder for @param tags"
},
"php-docblocker.returnDescription": {
"type": [
"string",
"boolean"
],
"default": false,
"description": "Include a description placeholder for @return tags"
},
"php-docblocker.functionTemplate": {
"type": "object",
"default": null,
"description": "Specify the default template for functions."
},
"php-docblocker.propertyTemplate": {
"type": "object",
"default": null,
"description": "Specify the default template for class variables."
},
"php-docblocker.classTemplate": {
"type": "object",
"default": null,
"description": "Specify the default template for classes."
},
"php-docblocker.author": {
"type": "object",
"default": {
"name": "Name",
"email": "[email protected]"
},
"description": "Default author tag"
}
}
}
},
"scripts": {
"clean": "rm -rf ./coverage/* ./.nyc_output ./out",
"verify-pat": "vsce verify-pat",
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
"lint": "tslint -p ./",
"build": "npm run -S esbuild-base -- --sourcemap",
"watch": "tsc -watch -p ./",
"pretest": "tsc -p ./",
"preversion": "tsc -p ./",
"version": "node ./out/scripts/updateChangelog.js",
"test": "node ./out/test/runTest.js",
"web": "npm run build && vscode-test-web --browserType=webkit --extensionDevelopmentPath=./",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/src/extension.js --external:vscode --format=cjs --platform=node",
"package": "vsce package --out ./out/package.vsix",
"publish": "vsce publish --packagePath ./out/package.vsix",
"deploy": "npm run package && npm run publish"
},
"devDependencies": {
"@types/mocha": "^5.2.6",
"@types/node": "^6.14.13",
"@types/vscode": "^1.60.0",
"@vscode/test-web": "^0.0.7",
"coveralls": "^3.1.1",
"esbuild": "^0.12.29",
"markdown-table-ts": "^1.0.3",
"mocha": "^9.1.1",
"nyc": "^15.1.0",
"typescript": "^3.9.10",
"vsce": "^1.100.0",
"vscode-test": "^1.6.1"
},
"dependencies": {}
}