-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.85 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.85 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
{
"name": "vscode-code-dimmer",
"publisher": "char8x",
"displayName": "Code Dimmer - Highlight Variables Hide Others",
"description": "Highlight the scope and citation locations of variables, reduce the opacity of code blocks unrelated to the variables",
"version": "0.3.0",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Visualization",
"Other"
],
"keywords": [
"highlight",
"scope"
],
"homepage": "https://github.com/char8x/vscode-code-dimmer/blob/main/README.md",
"bugs": {
"url": "https://github.com/char8x/vscode-code-dimmer/issues",
"email": "char8x@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/char8x/vscode-code-dimmer.git"
},
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"id": "basicConfig",
"title": "Code Dimmer",
"type": "object",
"properties": {
"codeDimmer.enabled": {
"type": "boolean",
"default": true,
"description": "Enable Code Dimmer"
},
"codeDimmer.decoration": {
"type": "object",
"description": "Rendering styles for irrelevant code",
"default": {
"opacity": "0.2",
"backgroundColor": "transparent"
}
},
"codeDimmer.autoUnfold": {
"type": "boolean",
"description": "Auto unfold code block",
"default": true
}
}
}
},
"activationEvents": [
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:python"
],
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"prewatch": "rimraf out dist",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint --fix src",
"test:integration": "node ./out/test/runTest.js",
"test:unit": "just test-unit-all",
"bundle": "vsce package"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.90.0",
"@vitest/ui": "4.0.18",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"glob": "10.5.0",
"mocha": "11.7.5",
"npm-run-all": "^4.1.5",
"rimraf": "5.0.10",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.3",
"vitest": "4.0.18"
}
}