-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.48 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
{
"name": "coding-timer",
"displayName": "Coding Timer",
"description": "Timer for checking how much time you spend coding",
"publisher": "szymmis",
"repository": {
"type": "git",
"url": "https://github.com/szymmis/coding-timer.git"
},
"version": "1.0.0",
"license": "MIT",
"engines": {
"vscode": "^1.66.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "coding-timer.reset",
"title": "Coding Timer: Clear Persisted Data"
}
],
"configuration": [
{
"title": "Coding Timer",
"properties": {
"coding-timer.timeout": {
"type": "number",
"default": 5,
"description": "How many seconds after last action counter freezes"
},
"coding-timer.freezeOnWindowBlur": {
"type": "boolean",
"default": true,
"description": "Freeze timer on window focus loss"
},
"coding-timer.persistence": {
"type": "string",
"enum": [
"none",
"day",
"permament"
],
"enumDescriptions": [
"Do not persist timer value between coding sessions",
"Clear persisted data on a day-to-day basis",
"Persist all coding data between sessions"
],
"default": "day",
"description": "How long should timer data be persisted in memory"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn 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": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.66.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"typescript": "^4.5.5",
"ts-loader": "^9.2.8",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"@vscode/test-electron": "^2.1.3"
}
}