Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 4.51 KB
/
Copy pathpackage.json
File metadata and controls
167 lines (167 loc) · 4.51 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
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
{
"name": "vscode-insertdatestring",
"displayName": "Insert Date & Time",
"description": "Insert dates, times, ISO 8601 strings, Unix timestamps, and custom Day.js-formatted timestamps in VS Code — with shortcuts, timezone support, and configurable formats.",
"version": "3.2.3",
"publisher": "jsynowiec",
"homepage": "https://github.com/jsynowiec/vscode-insertdatestring#readme",
"bugs": {
"url": "https://github.com/jsynowiec/vscode-insertdatestring/issues"
},
"license": "MIT",
"author": "Jakub Synowiec",
"main": "./dist/extension.js",
"activationEvents": [],
"repository": {
"type": "git",
"url": "https://github.com/jsynowiec/vscode-insertdatestring"
},
"scripts": {
"vscode:prepublish": "npm run package",
"build": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"typecheck": "tsc --noEmit",
"lint": "oxlint src",
"format": "oxfmt 'src/*.{ts,json,md,yml,js,mjs}'",
"format:check": "oxfmt --check 'src/*.{ts,json,md,yml,js,mjs}'",
"test": "tsx --test src/__tests__/*.test.ts",
"package": "node esbuild.mjs --production",
"prepackage": "npm run typecheck && npm run lint && npm run format:check",
"prebuild": "npm run typecheck && npm run lint && npm run format:check"
},
"dependencies": {
"dayjs": "^1.11.23"
},
"devDependencies": {
"@types/node": "^22.20.5",
"@types/vscode": "~1.101.0",
"esbuild": "^0.27.7",
"globals": "^17.13.0",
"oxfmt": "^0.74.0",
"oxlint": "^1.89.0",
"tsx": "^4.23.15",
"typescript": "^5.9.3"
},
"engines": {
"vscode": "^1.101.0",
"node": ">= 22"
},
"categories": [
"Other",
"Snippets"
],
"keywords": [
"date",
"time",
"datetime",
"timestamp",
"unix timestamp",
"epoch",
"epoch timestamp",
"iso 8601",
"iso8601",
"current date",
"current time",
"insert date",
"insert time",
"insert timestamp",
"date formatter",
"date formatting",
"time formatting",
"custom date format",
"timezone",
"iana timezone",
"utc",
"dayjs",
"markdown",
"front matter",
"changelog",
"logging",
"snippets",
"keyboard shortcut",
"date string",
"timestamp generator"
],
"contributes": {
"commands": [
{
"command": "insertDateString.insertDateTime",
"title": "Insert DateTime"
},
{
"command": "insertDateString.insertDate",
"title": "Insert Date"
},
{
"command": "insertDateString.insertTime",
"title": "Insert Time"
},
{
"command": "insertDateString.insertTimestamp",
"title": "Insert Timestamp"
},
{
"command": "insertDateString.insertOwnFormatDateTime",
"title": "Insert Formatted DateTime"
},
{
"command": "insertDateString.resetWorkspaceFormat",
"title": "Reset Workspace DateTime Format Override"
}
],
"configuration": {
"title": "Insert Date String Configuration",
"properties": {
"insertDateString.format": {
"type": "string",
"default": "YYYY-MM-DD HH:mm:ss",
"description": "Date time format to be used."
},
"insertDateString.formatDate": {
"type": "string",
"default": "YYYY-MM-DD",
"description": "Date format to be used."
},
"insertDateString.formatTime": {
"type": "string",
"default": "HH:mm:ss",
"description": "Time format to be used."
},
"insertDateString.timezone": {
"type": "string",
"default": "",
"description": "IANA timezone name (e.g. 'America/New_York', 'Europe/Warsaw', 'UTC'). Leave empty to use local system time."
},
"insertDateString.locale": {
"type": "string",
"default": "",
"description": "ISO 639-1 language tag (e.g. 'es', 'fr'). Leave empty to use English."
}
}
},
"keybindings": [
{
"command": "insertDateString.insertDateTime",
"key": "shift+ctrl+i",
"mac": "shift+cmd+i",
"when": "editorTextFocus"
},
{
"command": "insertDateString.insertOwnFormatDateTime",
"key": "shift+ctrl+alt+i",
"mac": "shift+cmd+alt+i",
"when": "editorTextFocus"
}
]
},
"icon": "images/icon.png",
"galleryBanner": {
"color": "#005696",
"theme": "dark"
},
"allowScripts": {
"esbuild@0.27.7": true,
"esbuild@0.28.1": true,
"fsevents@2.3.3": true
}
}