-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
141 lines (141 loc) · 3.7 KB
/
package.json
File metadata and controls
141 lines (141 loc) · 3.7 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
{
"name": "nightlight",
"displayName": "Nightlight",
"description": "Automatically switch themes when it's getting dark",
"version": "2.0.0",
"license": "MIT",
"publisher": "intodevelopment",
"repository": {
"type": "git",
"url": "https://github.com/intodevelopment/nightlight.git"
},
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Other"
],
"keywords": [
"night",
"night shift",
"night light",
"theme switch",
"dark"
],
"icon": "images/icon.png",
"galleryBanner": {
"color": "#091427",
"theme": "dark"
},
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"browser": "./out/web/extension.js",
"contributes": {
"commands": [
{
"command": "nightlight.enableDayTheme",
"title": "Nightlight: Enable day theme"
},
{
"command": "nightlight.enableNightTheme",
"title": "Nightlight: Enable night theme"
},
{
"command": "nightlight.toggle",
"title": "Nightlight: Toggle between day/night theme"
}
],
"keybindings": [
{
"command": "nightlight.toggle",
"key": "ctrl+alt+n"
}
],
"configuration": {
"type": "object",
"title": "Nightlight configuration",
"properties": {
"nightlight.nightTheme": {
"type": "string",
"default": "Default Dark+",
"description": "The theme to display when it is night time"
},
"nightlight.nightIconTheme": {
"type": "string",
"default": "vs-minimal",
"description": "The icon theme to display when it's night time"
},
"nightlight.dayTheme": {
"type": "string",
"default": "Default Light+",
"description": "The theme to display when it's daytime"
},
"nightlight.dayIconTheme": {
"type": "string",
"default": "vs-minimal",
"description": "The icon theme to display when it's daytime"
},
"nightlight.dayTimeStart": {
"type": "string",
"default": "10:00",
"description": "The time (format HH:mm) at which daytime starts (if no GPS coordinates are configured)"
},
"nightlight.dayTimeEnd": {
"type": "string",
"default": "21:00",
"description": "The time (format HH:mm) at which daytime ends (if no GPS coordinates are configured)"
},
"nightlight.gpsLong": {
"type": "number",
"default": null,
"description": "The GPS longitude coordinate. This is used to determine the sunrise and sunset locally on your device."
},
"nightlight.gpsLat": {
"type": "number",
"default": null,
"description": "The GPS latitude coordinate. This is used to determine the sunrise and sunset locally on your device."
},
"nightlight.quiet": {
"type": "boolean",
"default": false,
"description": "Switch theme quietly (don't show notification)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run compile-web",
"compile": "tsc -p ./",
"compile-web": "webpack --mode production --devtool hidden-source-map",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"watch": "tsc -watch -p ./",
"watch-web": "webpack --watch",
"lint": "eslint src --ext ts",
"open-in-browser": "vscode-test-web --extensionDevelopmentPath=. ."
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/suncalc": "^1.8.1",
"@types/vscode": "^1.59.0",
"@types/webpack-env": "^1.17.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"@vscode/test-web": "^0.0.60",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^10.0.0",
"ts-loader": "^9.3.1",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2",
"webpack": "^5.94.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"suncalc": "^1.8.0"
}
}