-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
140 lines (140 loc) · 5.01 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
{
"name": "nightswitch-lite",
"displayName": "NightSwitch-lite",
"description": "Switch between day and night themes based on location/time specified by the user.",
"version": "2.3.1",
"publisher": "gharveymn",
"author": {
"name": "Gene Harvey",
"email": "[email protected]"
},
"icon": "icon/icon.png",
"galleryBanner": {
"color": "#2d5071",
"theme": "dark"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gharveymn/nightswitch-lite"
},
"engines": {
"vscode": "^1.16.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.toggleTheme",
"title": "NightSwitch-lite: Toggle Day/Night Theme"
},
{
"command": "extension.switchThemeDay",
"title": "NightSwitch-lite: Switch to Day Theme"
},
{
"command": "extension.switchThemeNight",
"title": "NightSwitch-lite: Switch to Night Theme"
},
{
"command": "extension.toggleAutoSwitch",
"title": "NightSwitch-lite: Toggle Automatic Theme Switching"
},
{
"command": "extension.setup",
"title": "NightSwitch-lite: Run Setup"
},
{
"command": "extension.setLocation",
"title": "NightSwitch-lite: Set Location"
},
{
"command": "extension.setThemeDay",
"title": "NightSwitch-lite: Set Day Theme"
},
{
"command": "extension.setThemeNight",
"title": "NightSwitch-lite: Set Night Theme"
},
{
"command": "extension.setSunrise",
"title": "NightSwitch-lite: Set Time of Sunrise"
},
{
"command": "extension.setSunset",
"title": "NightSwitch-lite: Set Time of Sunset"
}
],
"configuration": {
"title": "NightSwitch-lite",
"properties": {
"nightswitch.themeDay": {
"type": "string",
"default": "Default Light+",
"description": "Specify the theme to be used during the day."
},
"nightswitch.themeNight": {
"type": "string",
"default": "Default Dark+",
"description": "Specify the theme to be used during the night."
},
"nightswitch.location": {
"type": "string",
"default": null,
"description": "Specify your location. Most coordinate systems are supported (eg. '49.89,-97.14', '49°53'24\" N, 97°8'24\" W', etc.)."
},
"nightswitch.sunrise": {
"type": "string",
"default": null,
"description": "Manually set the time of sunrise, overriding location. Most time formats are supported (eg. '06:00', '6AM', etc.)."
},
"nightswitch.sunset": {
"type": "string",
"default": null,
"description": "Manually set the time of sunrise, overriding location. Most time formats are supported (eg. '18:00', '6PM', etc.)."
},
"nightswitch.autoSwitch": {
"type": "boolean",
"default": true,
"description": "Automatically switch the theme to day or night based on location or sunrise/sunset settings."
},
"nightswitch.disableAutoSwitchNotifications": {
"type": "boolean",
"default": false,
"description": "Disable notifications when turning off auto-switch."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/src/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"dependencies": {
"coordinate-parser": "1.0.2",
"suncalc": "^1.8.0"
},
"devDependencies": {
"@types/node": "^6.14.13",
"@types/vscode": "^1.16.0",
"esbuild": "^0.14.25",
"typescript": "^3.7.2"
},
"__metadata": null,
"extensionKind": [
"ui",
"workspace"
]
}