-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.59 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
{
"name": "vscode-enhancements",
"displayName": "Automatic Previews",
"description": "Automatically popup previews when possible, dates, base64 decoding, jwt decodes, etc..",
"icon": "resources/icon.png",
"version": "0.1.0",
"publisher": "Authress",
"license": "MIT",
"engines": {
"vscode": "^1.48.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Authress-Engineering/vscode-enhancements"
},
"homepage": "https://github.com/Authress-Engineering/vscode-enhancements/blob/master/README.md",
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Date Preview",
"properties": {
"date-preview.detect.ISO-8601String": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether to detect [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format date string."
},
"date-preview.detect.unixTime": {
"type": "boolean",
"default": true,
"description": "Whether to detect Unix time. Currently supports 10/13 digits."
},
"date-preview.primaryPreview.enable": {
"type": "boolean",
"default": true,
"description": "Show primary date preview."
},
"date-preview.primaryPreview.name": {
"type": "string",
"default": "GMT",
"markdownDescription": "Show as the name of primary preview section."
},
"date-preview.primaryPreview.format": {
"type": "string",
"markdownDescription": "Primary date preview format, described in [day.js format documentation](https://day.js.org/docs/en/display/format). Leave empty to use ISO-8601 format."
},
"date-preview.primaryPreview.utcOffset": {
"description": "UTC offset of primary preview timezone. If the input is between -16 and -16, it will be interpreted as hours, otherwise, minutes instead. Leave empty to use local timezone.",
"type": [
"number",
null
]
},
"date-preview.alternativePreviews": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"title": "Alternative Preview",
"required": [
"name"
],
"properties": {
"name": {
"description": "Show as the name of alternative preview section.",
"type": "string"
},
"format": {
"description": "Used to format preview display. Leave empty to use ISO-8601 format.",
"type": "string"
},
"utcOffset": {
"description": "UTC offset of custom preview timezone. If the input is between -16 and -16, it will be interpreted as hours, otherwise, minutes instead. Leave empty to use local timezone.",
"type": [
"number",
null
]
}
}
}
}
}
},
"commands": []
},
"scripts": {
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.27",
"@types/vscode": "^1.48.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"eslint": "^7.6.0",
"glob": "^7.1.6",
"mocha": "^8.0.1",
"ts-loader": "^8.0.11",
"typescript": "^3.8.3",
"vscode-test": "^1.4.0",
"webpack": "^5.9.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"dayjs": "^1.8.34"
}
}