-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.02 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 3.02 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "typingspeedometer",
"displayName": "typing-speed",
"publisher": "edvilme",
"description": "Shows keystrokes per second and words per minute (WPM) while typing",
"version": "1.2.1",
"icon": "docs/img/icon.png",
"engines": {
"vscode": "^1.97.0"
},
"repository": {
"type": "git",
"url": "https://github.com/edvilme/typingspeedometer.git"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:type"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "typingspeedometer.showHighScore",
"title": "Show High Score"
},
{
"command": "typingspeedometer.textType",
"title": "Text Typing"
},
{
"command": "typingspeedometer.shareStats",
"title": "Share Typing Stats"
}
],
"keybindings": [
{
"command": "typingspeedometer.showHighScore",
"key": "ctrl+alt+s",
"when": "editorTextFocus"
}
],
"configuration": {
"properties": {
"typingspeedometer": {
"type": "object",
"description": "Typing Speed extension settings.",
"properties": {
"sessionTimeout": {
"type": "number",
"default": 3000,
"description": "Timeout duration for typing sessions in milliseconds.",
"minimum": 0,
"maximum": 60000
},
"mediumSpeedThreshold": {
"type": "number",
"default": 50,
"description": "WPM threshold for medium typing speed (yellow indicator)",
"minimum": 0,
"maximum": 500
},
"highSpeedThreshold": {
"type": "number",
"default": 80,
"description": "WPM threshold for high typing speed (green indicator)",
"minimum": 0,
"maximum": 500
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"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.10",
"@types/node": "22.x",
"@types/vscode": "^1.97.0",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.25.8",
"eslint": "^9.32.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.2"
},
"dependencies": {
"@vscode/l10n": "^0.0.18"
}
}