forked from jsynowiec/vscode-insertdatestring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 3.46 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
{
"name": "vscode-insertdatestring",
"displayName": "Insert Date String",
"description": "Insert the current date and time according to configured format.",
"version": "2.3.0",
"publisher": "jsynowiec",
"homepage": "https://github.com/jsynowiec/vscode-insertdatestring#readme",
"bugs": {
"url": "https://github.com/jsynowiec/vscode-insertdatestring/issues"
},
"license": "MIT",
"author": {
"name": "Jakub Synowiec",
"email": "[email protected]",
"url": "https://jakubsynowiec.info"
},
"main": "./out/src/extension",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/jsynowiec/vscode-insertdatestring"
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint -c .eslintrc.js --ext .ts .",
"prettier": "prettier --write '**/*.{ts,json,md,yml,js}'"
},
"dependencies": {
"date-format-lite": "^17.7.0"
},
"devDependencies": {
"@types/node": "^12",
"@types/vscode": "1.41",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/eslint-plugin-tslint": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.0.5",
"tslint": "^6.1.2",
"typescript": "^3.9.6"
},
"engines": {
"vscode": "^1.41.0"
},
"activationEvents": [
"onCommand:insertDateString.insertDateTime",
"onCommand:insertDateString.insertDate",
"onCommand:insertDateString.insertTime",
"onCommand:insertDateString.insertTimestamp",
"onCommand:insertDateString.insertOwnFormatDateTime"
],
"categories": [
"Other",
"Snippets"
],
"keywords": [
"iso 8601",
"datetime",
"current date",
"timestamp",
"template"
],
"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"
}
],
"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."
}
}
},
"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"
}
}