-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.93 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
{
"name": "vscode-timespent",
"displayName": "Time Spent",
"description": "Track time spent in vscode.",
"icon": "images/clock-icon-128.png",
"publisher": "Emeraldwalk",
"version": "0.1.8",
"license": "Apache-2.0",
"galleryBanner": {
"color": "#3e136e",
"theme": "dark"
},
"engines": {
"vscode": "^1.94.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage"
],
"main": "./dist/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/emeraldwalk/vscode-timespent.git"
},
"bugs": {
"url": "https://github.com/emeraldwalk/vscode-timespent/issues"
},
"contributes": {
"commands": [
{
"command": "time-spent.dailyWorkspaceSummary",
"title": "Time Spent: Daily Workspace Summary"
},
{
"command": "time-spent.exportTimeEntriesToCsv",
"title": "Time Spent: Export Time Entries to CSV"
}
],
"configuration": {
"title": "Time Spent Configuration.",
"type": "object",
"properties": {
"emeraldwalk.timeSpent": {
"type": "object",
"properties": {
"storageDir": {
"type": "string",
"description": "Storage directory to save sqlite database."
},
"inactivityTimeoutMs": {
"type": "integer",
"description": "Inactivity timeout in milliseconds.",
"default": 60000
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js && npm run copy:wasm",
"copy:wasm": "cp node_modules/sql.js/dist/sql-wasm.wasm dist/ && cp node_modules/sql.js/LICENSE dist/SQLJS_LICENSE",
"icon:gen": "inkscape images/clock-icon.svg --export-width=128 --export-filename=\"images/clock-icon-128.png\"",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "npm run copy:wasm && node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production && npm run copy:wasm",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@types/sql.js": "^1.4.9",
"@types/vscode": "^1.94.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.24.0",
"eslint": "^9.11.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.6.2"
},
"dependencies": {
"nanoid": "^5.0.7",
"sql.js": "^1.11.0"
},
"extensionDependencies": [
"vscode.git"
]
}