forked from doi/fileheadercomment
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.24 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 3.24 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
{
"name": "fileheadercomment",
"displayName": "File Header Comment",
"description": "Insert File Header Comment such as date, time and environment variables",
"version": "0.0.6",
"publisher": "doi_bdw",
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.insertFileHeaderComment",
"onCommand:extension.insertFileHeaderCommentOther"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.insertFileHeaderComment",
"title": "FileHeaderComment: Insert Default Template at Cursor"
},
{
"command": "extension.insertFileHeaderCommentOther",
"title": "FileHeaderComment: Select from Available Templates"
},
{
"command": "extension.insertFileHeaderCommentMenu",
"title": "Insert Default File Header Comment"
},
{
"command": "extension.insertFileHeaderCommentOtherMenu",
"title": "Select A File Header Comment To Insert..."
}
],
"menus": {
"editor/context": [
{
"command": "extension.insertFileHeaderCommentMenu",
"when": "editorTextFocus",
"group": "1_modification"
},
{
"command": "extension.insertFileHeaderCommentOtherMenu",
"when": "editorTextFocus",
"group": "1_modification"
}
]
},
"configuration": {
"type": "object",
"title": "FileHeaderComment Configuration",
"properties": {
"fileHeaderComment.parameter": {
"type": "object",
"default": {
"*": {}
},
"description": "Configure parameter/variable used in comment"
},
"fileHeaderComment.template": {
"type": "object",
"default": {},
"description": "Define custom template"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "20.x",
"@types/vscode": "^1.99.1",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.55.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"typescript": "^5.3.3"
},
"repository": {
"type": "git",
"url": "https://github.com/doi/fileheadercomment.git"
},
"bugs": {
"url": "https://github.com/doi/fileheadercomment/issues"
},
"license": "SEE LICENSE IN LICENSE.md"
}