/
package.json
87 lines (87 loc) · 2.58 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
{
"name": "docblocker",
"displayName": "DocBlocker",
"description": "Adds simple comments to any place",
"version": "0.4.0",
"publisher": "flydreame",
"engines": {
"vscode": "^1.17.0"
},
"icon": "images/icon.png",
"bugs": {
"url": "https://github.com/FlyDreame/vscode-docBlocker/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/FlyDreame/vscode-docBlocker"
},
"categories": [
"Other"
],
"keywords": [
"document",
"doc",
"docblocker",
"comment"
],
"activationEvents": [
"onCommand:extension.docblocker"
],
"main": "./extension",
"contributes": {
"configuration": {
"type": "object",
"title": "docBlocker Configuration",
"properties": {
"docBlocker.Author": {
"type": "string",
"default": "flydreame",
"description": "By default, create blocker username"
},
"docBlocker.defaultTpl": {
"type": "string",
"default": "/** \n * @Author: {{author}} \n * @Date: {{createTime}} \n * @Desc: $0 \n */",
"description": "By default, create blocker template"
},
"docBlocker.languageTpl": {
"type": "array",
"default": [
{
"language": "javascript",
"tpl": "/** \n * javascript comment \n * @Author: {{author}} \n * @Date: {{createTime}} \n * @Desc: $0 \n */"
}
],
"description": "Config the comment template for different languages"
}
}
},
"commands": [
{
"command": "extension.docblocker",
"title": "docblocker"
}
],
"keybindings": [
{
"command": "extension.docblocker",
"key": "ctrl+shift+/",
"when": "editorTextFocus"
}
]
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"eslint": "^4.6.1",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"indent-string": "^3.2.0",
"mustache": "^2.3.0"
}
}