-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
221 lines (221 loc) · 7.13 KB
/
package.json
File metadata and controls
221 lines (221 loc) · 7.13 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
{
"name": "achievements",
"displayName": "Achievements",
"description": "Add achievements to your coding experience, track and reward your coding journey",
"publisher": "BoxBoxJason",
"icon": "icon.png",
"author": {
"name": "BoxBoxJason"
},
"version": "0.4.1",
"engines": {
"vscode": "^1.110.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"extensionDependencies": [
"vscode.git"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "achievements.enable",
"title": "Achievements: Enable / Disable"
},
{
"command": "achievements.settings",
"title": "Achievements: Settings"
},
{
"command": "achievements.show",
"title": "Achievements: Show"
}
],
"configuration": [
{
"title": "achievements",
"properties": {
"achievements.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the Achievements extension."
},
"achievements.logLevel": {
"type": "string",
"default": "INFO",
"enum": [
"DEBUG",
"INFO",
"WARN",
"ERROR",
"FATAL"
],
"description": "Set the log level for the extension."
},
"achievements.notifications": {
"type": "boolean",
"default": true,
"description": "Enable or disable Achievements extension notifications."
},
"achievements.logDirectory": {
"type": "string",
"default": "",
"description": "Specify the directory for log files.",
"pattern": "^(?:[a-zA-Z]:\\\\|/)(?:[^<>:\"|?*]+/)*[^<>:\"|?*]*$",
"patternErrorMessage": "The log directory must be an absolute path with valid characters."
},
"achievements.username": {
"type": "string",
"default": "Guest",
"description": "Set your username for the Achievements extension.",
"pattern": "^(?!\\s*$).+",
"patternErrorMessage": "Username cannot be empty or consist only of whitespace."
},
"achievements.listeners.debug": {
"type": "boolean",
"default": true,
"description": "Enable or disable debug events listeners for the Achievements extension."
},
"achievements.listeners.extensions": {
"type": "boolean",
"default": true,
"description": "Enable or disable extensions / themes events listeners for the Achievements extension."
},
"achievements.listeners.files": {
"type": "boolean",
"default": true,
"description": "Enable or disable file events listeners for the Achievements extension."
},
"achievements.listeners.git": {
"type": "boolean",
"default": true,
"description": "Enable or disable git evens listeners for the Achievements extension."
},
"achievements.listeners.tabs": {
"type": "boolean",
"default": true,
"description": "Enable or disable tabs events listeners for the Achievements extension."
},
"achievements.listeners.tasks": {
"type": "boolean",
"default": true,
"description": "Enable or disable tasks events listeners for the Achievements extension."
},
"achievements.listeners.time": {
"type": "boolean",
"default": true,
"description": "Enable or disable time events listeners for the Achievements extension."
},
"achievements.ignore.files": {
"type": "array",
"default": [
"package-lock.json",
"yarn.lock",
"pnpm-lock.yaml",
"bun.lockb",
".ds_store",
"thumbs.db"
],
"items": {
"type": "string"
},
"description": "File names ignored by file-related achievements (case-insensitive)."
},
"achievements.ignore.directories": {
"type": "array",
"default": [
".git",
".svn",
".hg",
".jj",
"node_modules"
],
"items": {
"type": "string"
},
"description": "Directory names ignored by file-related achievements (case-sensitive)."
}
}
}
]
},
"scripts": {
"compile": "npm run clean && npm run tailwind && ts-node esbuild.ts",
"build": "npm run clean && npm run tailwind && npm run check-types && npm run lint && ts-node esbuild.ts --production",
"package": "npm run build && vsce package",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "npm run clean && npx tsc && vscode-test --extensionDevelopmentPath=. --extensionTestsPath=dist/test/index.js",
"watch:esbuild": "npm run tailwind && ts-node esbuild.ts --watch",
"watch:tsc": "tsc --noEmit --watch --preserveWatchOutput",
"watch-tests": "tsc --noEmit --watch --preserveWatchOutput",
"test:coverage": "npm run clean && rm -rf .nyc_output dist-cov && npx tsc && npx nyc instrument dist dist-cov --include=\"**/*.js\" --exclude=\"**/test/**\" && cp -r dist-cov/* dist/ && node dist/test/runTest.js && npx nyc report --reporter=text-summary --reporter=text",
"clean": "rm -rf dist dist-cov .nyc_output",
"tailwind": "npx tailwindcss -i ./src/views/style/main.css -o ./dist/style/main.css --minify",
"changelog": "git-cliff -c cliff.toml -o CHANGELOG.md"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@tailwindcss/cli": "4.2.2",
"@types/mocha": "10.0.10",
"@types/node": "25.5.0",
"@types/proper-lockfile": "4.1.4",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@types/sql.js": "1.4.10",
"@types/vscode": "1.110.0",
"@typescript-eslint/eslint-plugin": "8.57.1",
"@typescript-eslint/parser": "8.57.1",
"@vscode/test-cli": "0.0.12",
"@vscode/test-electron": "2.5.2",
"@vscode/vsce": "3.7.1",
"esbuild": "0.27.4",
"eslint": "10.1.0",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.0.1",
"nyc": "18.0.0",
"ovsx": "0.10.9",
"ts-node": "10.9.2",
"typescript": "5.9.3"
},
"dependencies": {
"proper-lockfile": "4.1.2",
"react": "19.2.4",
"react-dom": "19.2.4",
"sql.js": "1.14.1"
},
"files": [
"dist",
"assets",
"README.md",
"CHANGELOG.md",
"LICENSE.md",
"icon.png",
"node_modules/sql.js/dist/sql-wasm.wasm",
"node_modules/react/**",
"node_modules/react-dom/**"
],
"repository": {
"type": "git",
"url": "https://github.com/BoxBoxJason/achievements"
},
"nyc": {
"all": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"src/test/**"
],
"reporter": [
"text",
"html"
]
}
}