-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
135 lines (135 loc) · 3.83 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": "another-file-header",
"displayName": "Another File Header",
"description": "Automatically or by command insert a header to your files. (customizable)",
"version": "1.0.1",
"publisher": "JustSxm",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/JustSxm/Another-File-Header"
},
"keywords": [
"vscode",
"authoring",
"helper",
"author",
"generator",
"head",
"header",
"comment",
"file"
],
"icon": "icon.png",
"engines": {
"vscode": "^1.62.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:another-file-header.insertHeader",
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "another-file-header.insertHeader",
"title": "Insert Author Header"
}
],
"configuration": {
"title": "Another File Header",
"properties": {
"another-file-header.information.author": {
"type": "string",
"description": "The author name to put in the header.",
"default": "Sam",
"scope": "window"
},
"another-file-header.information.email": {
"type": "string",
"description": "The email to put in the header.",
"default": "Sam@example.com",
"scope": "window"
},
"another-file-header.information.dateFormat": {
"type": "string",
"description": "The date format to use in the header. Year = yyyy, Months = MM, Days = dd, Hours = HH, Minutes = mm, Seconds = ss",
"default": "yyyy-MM-dd HH:mm:ss",
"scope": "window"
},
"another-file-header.enable.author": {
"type": "boolean",
"description": "Enabled = show author name in the header.",
"default": true,
"scope": "window"
},
"another-file-header.enable.email": {
"type": "boolean",
"description": "Enabled = show email in the header.",
"default": true,
"scope": "window"
},
"another-file-header.enable.creationDate": {
"type": "boolean",
"description": "Enabled = show creation date in the header.",
"default": true,
"scope": "window"
},
"another-file-header.enable.insertOnCreation": {
"type": "boolean",
"description": "Automatically insert the header on file creation.",
"default": true,
"scope": "window"
},
"another-file-header.information.description": {
"type": "string",
"description": "The description for your project to put in the header.",
"default": "Another File Header is a Visual Studio Code extension to automatically or by command insert a header to your files.",
"scope": "window"
},
"another-file-header.information.customHeader": {
"type": "string",
"description": "Use this to insert a custom header. Use the following variables: {author}, {email}, {description}, {creation} and {modification}. Enable Toggles will be ignored.",
"default": "",
"scope": "window"
},
"another-file-header.enable.description": {
"type": "boolean",
"description": "Enabled = show description in the header.",
"default": true,
"scope": "window"
},
"another-file-header.enable.modificationDate": {
"type": "boolean",
"description": "Enabled = show last modified date in the header.",
"default": true,
"scope": "window"
}
}
}
},
"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/vscode": "^1.62.0",
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"typescript": "^4.4.4",
"@vscode/test-electron": "^1.6.2"
}
}