-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
120 lines (120 loc) · 2.9 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
{
"name": "mysalary",
"displayName": "MySalary",
"publisher": "hzjjg",
"description": "show your salary",
"keywords": [
"salary",
"工资",
"内卷",
"funny",
"有趣"
],
"version": "0.1.0",
"engines": {
"vscode": "^1.32.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./dist/main.js",
"repository": "https://github.com/hzjjg/my_salary",
"icon": "icon.png",
"contributes": {
"commands": [
{
"command": "extension.showMySalary",
"title": "MySalary: Show My Salary"
},
{
"command": "extension.hideMySalary",
"title": "MySalary: Hide My Salary"
},
{
"command": "extension.showTips",
"title": "MySalary: Show Tips"
},
{
"command": "extension.hideTips",
"title": "MySalary: Hide Tips"
}
],
"configuration": {
"title": "MySalary",
"properties": {
"mySalary.dailyWages": {
"type": "number",
"default": "0",
"description": "日工资,一般为月工资/每月计薪日(双休工作制时正常每月计薪日为21.75)"
},
"mySalary.workingHours.from": {
"type": "string",
"default": "9:00",
"format": "time",
"description": "上班时间"
},
"mySalary.workingHours.to": {
"type": "string",
"default": "18:00",
"format": "time",
"description": "下班时间"
},
"mySalary.prefix": {
"type": "string",
"default": "",
"description": "日工资数值的前缀"
},
"mySalary.unit": {
"type": "string",
"default": "元",
"description": "日工资的单位,会显示在工资数值之后。例如”元“,”包狗粮“"
},
"mySalary.updateInterval": {
"type": "number",
"default": 100,
"description": "金额更新的时间,单位ms"
},
"mySalary.decimal": {
"type": "number",
"default": 4,
"description": "金额保留小数"
},
"mySalary.tips.showTips": {
"type": "boolean",
"default": true,
"description": "显示工作时间小提示"
},
"mySalary.tips.tips": {
"type": "object",
"default": {
"notYetStart": "还没到上班时间,休息一下。",
"justStart": "上班!赚钱开始!",
"normal": "你认真工作的样子真的很靓仔。",
"teaTime": "喂!三点几嚟,做做撚啊做!饮茶先啦!",
"soonGetOff": "收拾东西,准备下班!",
"overTime": "都几点了?快回家吧。"
},
"description": "工作时间小提示"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^16.4.1",
"tslint": "^6.1.3",
"typescript": "^4.3.5",
"vscode": "^1.1.37"
},
"dependencies": {}
}