forked from datreks/codetime-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.25 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
{
"publisher": "Jannchie",
"name": "codetime",
"displayName": "CodeTime",
"version": "0.7.0",
"description": "Codetime vscode plugin. Statistical analysis of code time.",
"homepage": "https://github.com/Data-Trekkers/codetime-vscode#readme",
"repository": {
"type": "git",
"url": "https://github.com/Data-Trekkers/codetime-vscode"
},
"keywords": [
"code time",
"code",
"time",
"data",
"wakatime",
"codetime",
"worktime"
],
"categories": [
"Other"
],
"main": "./dist/extension.js",
"icon": "images/logo.png",
"engines": {
"vscode": "^1.75.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "codetime.getToken",
"title": "CodeTime: Enter token"
},
{
"command": "codetime.toDashboard",
"title": "CodeTime: Browse dashboard"
},
{
"command": "codetime.codeTimeInStatusBar",
"title": "CodeTime: Select status bar info"
}
],
"configuration": {
"title": "CodeTime",
"properties": {
"codetime.statusBarInfo": {
"type": "string",
"default": "total",
"enum": [
"total",
"today",
"24h"
],
"enumDescriptions": [
"Show total code time",
"Show today code time",
"Show 24h code time"
],
"description": "Select the information showing in the status bar."
},
"codetime.serverEntrypoint": {
"type": "string",
"default": "https://api.codetime.dev",
"description": "Server entrypoint defines the URL for reporting data to a server."
},
"codetime.timeoutTime": {
"type": "number",
"default": 600000,
"description": "Timeout time in milliseconds after which the user is considered inactive."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"vscode:package": "vsce package",
"vscode:publish": "vsce package && vsce publish",
"compile": "webpack --devtool nosources-source-map --config ./build/node-extension.webpack.config.js",
"watch": "webpack --watch --devtool nosources-source-map --config ./build/node-extension.webpack.config.js --stats-error-details",
"package": "webpack --mode production --config ./build/node-extension.webpack.config.js ",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "pnpm run test-compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"dependencies": {
"@npmcli/fs": "^3.1.0",
"@vscode/test-electron": "^2.2.3",
"got": "^14.2.1",
"os-name": "^5.1.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@jannchie/eslint-config": "^3.0.0",
"@types/glob": "^8.0.1",
"@types/got": "^9.6.11",
"@types/mocha": "^10.0.1",
"@types/node": "^18.19.28",
"@types/os-name": "^3.1.0",
"@types/uuid": "^9.0.8",
"@types/vscode": "^1.75.0",
"eslint": "^8.56.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"vscode": "^1.1.34",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
}
}