-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.4 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.4 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
{
"name": "close-any-bracket",
"displayName": "Close Any Bracket",
"description": "Automatically close open braces, brackets, or parentheses in the right order.",
"publisher": "cpulvermacher",
"version": "1.1.0",
"repository": {
"type": "git",
"url": "https://github.com/cpulvermacher/close-any-bracket.git"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"keywords": [
"braces",
"brackets",
"close",
"parentheses"
],
"icon": "images/icon.png",
"license": "SEE LICENSE IN LICENSE",
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "close-any-bracket.close",
"title": "Close last open (, [, or {",
"category": "Close Any Bracket"
},
{
"command": "close-any-bracket.close-to-indent",
"title": "Close all open brackets to current indent",
"category": "Close Any Bracket"
}
],
"keybindings": [
{
"command": "close-any-bracket.close",
"key": "alt+]",
"mac": "ctrl+]",
"when": "editorTextFocus"
},
{
"command": "close-any-bracket.close-to-indent",
"key": "alt+shift+enter",
"mac": "ctrl+shift+enter",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Close Any Bracket",
"properties": {
"closeAnyBracket.ignoreAlreadyClosed": {
"type": "boolean",
"default": true,
"description": "When enabled, brackets that are already closed after the cursor will not be closed. When disabled, any closing brackets after the cursor position will be ignored and might be closed again."
}
}
}
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"check-exclusive": "ps aux | grep -v grep | grep -q 'esbuild.*--watch' && echo 'esbuild --watch running, aborting!' && exit 1 || exit 0",
"vscode:prepublish": "pnpm check-exclusive && rm -rf ./out && pnpm esbuild-base --minify --pure:console.debug && sh ./scripts/copy-languages.sh",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --define:document=undefined --define:window=undefined",
"esbuild": "pnpm esbuild-base --sourcemap",
"watch": "pnpm esbuild-base --sourcemap --watch",
"build": "npx vsce package --no-dependencies",
"pretest": "tsc -p ./",
"format": "pnpm exec biome check --write src/",
"lint": "tsc --noEmit && pnpm exec biome check src/",
"test": "vitest --run && node ./out/test/runTest.js",
"checkall": "pnpm test && pnpm lint && pnpm build"
},
"devDependencies": {
"@biomejs/biome": "2.3.11",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/prismjs": "^1.26.6",
"@types/vscode": "^1.95.0",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.9.1",
"esbuild": "^0.28.0",
"glob": "^13.0.6",
"mocha": "^11.7.5",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"dependencies": {
"prismjs": "^1.30.0"
},
"pnpm": {
"overrides": {
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
"tar-fs@>=2.0.0 <2.1.4": ">=2.1.4",
"glob@>=10.2.0 <10.5.0": ">=10.5.0",
"glob@>=11.0.0 <11.1.0": ">=11.1.0",
"jws@=4.0.0": ">=4.0.1",
"jws@<3.2.3": ">=3.2.3"
}
}
}