-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
181 lines (181 loc) · 5.16 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
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "ibadah",
"displayName": "Ibadah",
"description": "The Ibadah plugin for VSCode can show Muslim prayer time at the status bar and popup notification. Fully customizable.",
"icon": "assets/icon.png",
"version": "0.0.2",
"engines": {
"vscode": "^1.86.0"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"publisher": "ariefsn",
"repository": {
"type": "git",
"url": "https://github.com/ariefsn/vsce-ibadah"
},
"bugs": {
"url": "https://github.com/ariefsn/vsce-ibadah/issues",
"email": "[email protected]"
},
"author": {
"name": "Arief Setiyo Nugroho",
"url": "https://github.com/ariefsn"
},
"license": "MIT",
"maintainers": [
{
"name": "Arief Setiyo Nugroho",
"email": "[email protected]",
"url": "https://github.com/ariefsn"
}
],
"keywords": [
"ibadah",
"sholat",
"muslim",
"moslem",
"islam"
],
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"command": "ibadah.pray.configure",
"title": "Ibadah: Pray Configure"
},
{
"command": "ibadah.pray.refresh",
"title": "Ibadah: Pray Refresh"
}
],
"configuration": {
"title": "Ibadah",
"properties": {
"ibadah.location": {
"type": "object",
"description": "Location configuration",
"properties": {
"country": {
"type": "string",
"description": "Country to get prayer times for",
"default": "Indonesia"
},
"city": {
"type": "string",
"description": "City to get prayer times for",
"default": "Surabaya"
},
"postalCode": {
"type": "string",
"description": "Postal code to get prayer times for",
"default": ""
},
"address": {
"type": "string",
"description": "Address to get prayer times for",
"default": ""
}
}
},
"ibadah.pray": {
"type": "object",
"description": "Pray configuration",
"properties": {
"notification": {
"type": "object",
"description": "Notification configuration",
"properties": {
"message": {
"type": "string",
"description": "The message that notification will show, use {pray} to insert the prayer name",
"default": "It's time to pray {pray}"
},
"before": {
"type": "number",
"description": "The minutes that notification will show before the prayer time",
"default": 15
}
}
},
"names": {
"type": "object",
"description": "Pray names configuration",
"properties": {
"Fajr": {
"type": "string",
"description": "The custom name for Fajr",
"default": "Fajr"
},
"Dhuhr": {
"type": "string",
"description": "The custom name for Dhuhr",
"default": "Dhuhr"
},
"Asr": {
"type": "string",
"description": "The custom name for Asr",
"default": "Asr"
},
"Maghrib": {
"type": "string",
"description": "The custom name for Maghrib",
"default": "Maghrib"
},
"Isha": {
"type": "string",
"description": "The custom name for Isha",
"default": "Isha"
}
}
}
}
}
}
},
"configurationDefaults": {
"[ibadah]": {
"pray": {
"country": "Indonesia",
"city": "Surabaya",
"beforeMinutes": 15
}
}
}
},
"scripts": {
"vscode:prepublish:default": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"vscode:prepublish": "yarn esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "yarn esbuild-base -- --sourcemap",
"esbuild-watch": "yarn esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/node-schedule": "^2.1.6",
"@types/vscode": "^1.86.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.6.7",
"dayjs": "^1.11.10",
"node-schedule": "^2.1.1"
}
}