-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 2.85 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
{
"name": "EventReminder",
"displayName": "EventReminder",
"description": "配置一项提醒事件,如:久座提醒,喝水提醒等",
"publisher": "chetserenade",
"version": "0.7.0",
"author": {
"name": "Chetserenade"
},
"engines": {
"vscode": "^1.68.0"
},
"keywords": [
"事件提醒",
"久座提醒",
"喝水提醒",
"Reminder"
],
"categories": [
"Other"
],
"bugs": {
"url": "https://github.com/ChetSerenade/vscdoe-Reminder/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/ChetSerenade/vscdoe-Reminder/README.md",
"repository": {
"url": "https://github.com/ChetSerenade/vscdoe-Reminder",
"type": "git"
},
"activationEvents": [
"onCommand:extension.start",
"onWebviewPanel:extension.start",
"*"
],
"icon": "time.png",
"galleryBanner": {
"color": "#14181D",
"theme": "dark"
},
"main": "./dist/extension.js",
"contributes": {
"keybindings": [{
"command": "extension.start",
"key": "ctrl+f1",
"mac": "cmd+f1",
"when": "inputFocus"
}],
"commands": [{
"command": "extension.start",
"title": "Reminder"
}],
"configuration": {
"type": "object",
"title": "ReminderSetting",
"properties": {
"reminder.interval": {
"type": "number",
"default": 60,
"description": "提醒间隔(分钟)"
},
"reminder.title": {
"type": "string",
"default": "起来稍微活动一分钟或者喝一点水吧!",
"description": "提示内容"
},
"reminder.motif": {
"type": "string",
"default": "REST TIME",
"description": "主题"
},
"reminder.picture": {
"type": "array",
"default": [
"https://images.pexels.com/photos/933054/pexels-photo-933054.jpeg"
],
"description": "设置图片地址"
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.68.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5",
"ts-loader": "^9.4.2",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"@vscode/test-electron": "^2.2.3"
}
}