-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.81 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.81 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
{
"name": "workspacetime",
"displayName": "WorkspaceTime",
"description": "Automatically track time spent in a workspace.",
"publisher": "AwSky",
"icon": "./images/icon.png",
"repository": "https://github.com/AwSkies/workspacetime",
"version": "1.0.1",
"engines": {
"vscode": "^1.89.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "workspacetime.start",
"title": "WorkspaceTime: Start"
},
{
"command": "workspacetime.resume",
"title": "WorkspaceTime: Resume"
},
{
"command": "workspacetime.stop",
"title": "WorkspaceTime: Stop"
},
{
"command": "workspacetime.pause",
"title": "WorkspaceTime: Pause"
},
{
"command": "workspacetime.toggle",
"title": "WorkspaceTime: Toggle"
},
{
"command": "workspacetime.reset",
"title": "WorkspaceTime: Reset"
},
{
"command": "workspacetime.copy",
"title": "WorkspaceTime: Copy"
}
],
"configuration": {
"title": "WorkspaceTime",
"properties": {
"workspacetime.pattern": {
"type": "string",
"default": "$hours:$minutes:$seconds elapsed in $name",
"markdownDescription": "The text pattern that will be displayed in the status bar item. `$hours`, `$minutes`, and `$seconds` will be replaced with the corresponding lengths of time. Minutes and seconds will be always be two digits while the number of digits in the hours is variable. `$name` will be replaced with the name of the workspace."
},
"workspacetime.idleTimeout": {
"type": "integer",
"default": 300,
"markdownDescription": "The allowed amount of seconds of inactivity before the timer automatically pauses. Put `-1` to indicate that the timer should not pause on idle."
},
"workspacetime.startOnOpen": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether the timer starts every time a workspace opens. If `false`, then you need to use the `start` command to begin the timer."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.89.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.4.5"
}
}