-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
182 lines (182 loc) · 6.42 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
182
{
"name": "cron-explained",
"displayName": "Cron Explained",
"description": "Translate cron-like schedules to a readable format",
"license": "GPL-3.0-or-later",
"homepage": "https://github.com/tumido/cron-explained",
"publisher": "tumido",
"author": {
"name": "Tom Coufal",
"url": "https://github.com/tumido"
},
"keywords": [
"cron",
"codelens",
"tooltips"
],
"bugs": {
"url": "https://github.com/tumido/cron-explained/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tumido/cron-explained.git"
},
"version": "1.3.1",
"engines": {
"vscode": "^1.51.0"
},
"categories": [
"Other"
],
"qna": "https://github.com/tumido/cron-explained/issues",
"extensionKind": [
"ui"
],
"icon": "docs/assets/icon.png",
"galleryBanner": {
"color": "#191919",
"theme": "dark"
},
"private": true,
"activationEvents": [
"onStartupFinished",
"onCommand:cron-explained.insertComment",
"onCommand:cron-explained.toggleCodeLens",
"onCommand:cron-explained.toggleHover",
"onDebug"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "cron-explained.insertComment",
"title": "Insert translation as a comment",
"category": "cron-explained"
},
{
"command": "cron-explained.toggleCodeLens",
"title": "Enables/disables code lenses",
"category": "cron-explained"
},
{
"command": "cron-explained.toggleHover",
"title": "Enables/disables hover tooltip",
"category": "cron-explained"
}
],
"configuration": {
"title": "Cron Helper",
"properties": {
"cron-explained.cronstrue": {
"markdownDescription": "This extension uses `cronstrue` under the hood. In the following section, you can set options passed to this library. For more information on `cronstrue` options, please consult https://github.com/bradymholt/cRonstrue/#options"
},
"cron-explained.cronstrueOptions.use24HourTimeFormat": {
"type": "boolean",
"default": true,
"markdownDescription": "If true, descriptions will use a 24-hour clock."
},
"cron-explained.cronstrueOptions.locale": {
"type": "string",
"default": "",
"markdownDescription": "Enforce specific language for transcriptions.\n\n_By default the VSCode environment language is used._"
},
"cron-explained.cronstrueOptions.verbose": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether to use a verbose description."
},
"cron-explained.cronstrueOptions.dayOfWeekStartIndexZero": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether to interpret cron expression day of week '1' as Sunday (`false`) or Monday (`true`).\n\n_(For example: AWS uses 1 as Sunday -> set option to `false`)_"
},
"cron-explained.cronstrueOptions.monthStartIndexZero": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether to interpret January as '0' or '1'"
},
"cron-explained.codeLens.enabled": {
"type": "boolean",
"default": false,
"description": "When enabled, the transcript is shown as a code lens."
},
"cron-explained.codeLens.showTranscript": {
"type": "boolean",
"default": true,
"description": "Show the transcript of a cron string."
},
"cron-explained.codeLens.showCommentAction": {
"type": "boolean",
"default": true,
"description": "Show action to insert comment for a cron string."
},
"cron-explained.hover.enabled": {
"type": "boolean",
"default": true,
"description": "When enabled, the transcript is shown in a hover tooltip."
}
}
}
},
"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": {
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "9.0.4",
"@types/glob": "8.1.0",
"@types/mocha": "10.0.1",
"@types/node": "18.17.14",
"@types/vscode": "^1.51.0",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"@vscode/test-electron": "2.3.4",
"eslint": "8.48.0",
"glob": "8.1.0",
"mocha": "10.2.0",
"semantic-release": "21.1.1",
"typescript": "5.2.2"
},
"dependencies": {
"cronstrue": "^2.15.0"
},
"release": {
"branches": "master",
"verifyConditions": [
"@semantic-release/github"
],
"publish": [
"@semantic-release/github"
],
"success": [
"@semantic-release/github"
],
"fail": [
"@semantic-release/github"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "docs",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
}
}