-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 4.57 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 4.57 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
{
"name": "compile-ts",
"displayName": "Typescript Compiler",
"description": "Ultra fast typescript compiler. Speedup typescript Compile time. Save valuable time while debug typescript",
"version": "0.2.1",
"publisher": "anilkumarum",
"license": "GPL-3.0-only",
"icon": "media/icon.png",
"preview": false,
"bugs": {
"url": "https://github.com/anilkumarum/compile-ts.git/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/anilkumarum/compile-ts.git"
},
"author": {
"name": "anilkumarum",
"url": "https://github.com/anilkumarum"
},
"engines": {
"vscode": "^1.104.0",
"node": ">=22.2.0"
},
"keywords": [
"Typescript",
"Ts",
"Compiler",
"Transpiler",
"ts Compiler"
],
"categories": [
"Other",
"Debuggers"
],
"galleryBanner": {
"color": "#41205f",
"theme": "dark"
},
"activationEvents": [
"workspaceContains:**/*.ts"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "compilets.compileTs",
"title": "Compile watched TypeScript now",
"category": "Compilets"
},
{
"command": "compilets.watchTs",
"title": "Start watch mode (compile on save)",
"category": "Compilets"
},
{
"command": "compilets.generateTsconfig",
"title": "Generate tsconfig.json...",
"category": "Compilets"
},
{
"command": "compilets.generateImportMap",
"title": "Generate Import Map",
"category": "Compilets"
}
],
"configuration": {
"title": "Compilets",
"properties": {
"compilets.config.watchFolders": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"scope": "resource",
"description": "Workspace-relative folders to watch for .ts changes. If empty, falls back to tsconfig.json's \"include\" (with glob suffixes stripped), then \"src\"."
},
"compilets.compiler.outputLocation": {
"type": "string",
"default": "sameFolderAsSource",
"enum": [
"sameFolderAsSource",
"separateFolder"
],
"scope": "resource",
"description": "Where compiled .js files are written. \"sameFolderAsSource\" cannot be expressed in tsconfig.json, so this setting is authoritative over tsconfig's outDir for output placement."
},
"compilets.dedicatedOutputFolder": {
"type": "string",
"default": "out",
"scope": "resource",
"description": "Workspace-relative output folder used when compiler.outputLocation is \"separateFolder\". Falls back to tsconfig.json's outDir, then \"out\", if left blank."
},
"compilets.hideCompiledJsInExplorer": {
"type": "boolean",
"default": false,
"scope": "resource",
"description": "Automatically adds/removes files.exclude entries in this workspace's .vscode/settings.json to hide compiled .js files next to their .ts source."
},
"compilets.autoStart": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Automatically start watch mode if this workspace contains .ts files. On first use in a workspace with no explicit value set anywhere, you'll be asked once and the answer is saved here."
},
"compilets.importMap.target": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"browser",
"nodejs"
],
"scope": "resource",
"description": "Target for the \"Generate Import Map\" command. \"auto\" detects browser (an .html file exists) vs Node.js (package.json exists, no .html) and asks if ambiguous. Set explicitly to skip detection."
},
"compilets.statusBar.visibility": {
"type": "string",
"default": "always",
"enum": [
"always",
"onErrorOnly"
],
"scope": "resource",
"description": "\"always\" shows compiling/compiled/error states in the status bar (only while a .ts file is focused). \"onErrorOnly\" hides it except when there's an active compile error."
}
}
},
"keybindings": [
{
"command": "compilets.compileTs",
"key": "ctrl+alt+c",
"mac": "cmd+option+c",
"when": "editorTextFocus"
},
{
"command": "compilets.watchTs",
"key": "ctrl+alt+w",
"mac": "cmd+option+w",
"when": "editorTextFocus"
}
]
},
"scripts": {
"bundle": "esbuild ./src/extension.ts --bundle --minify --outfile=out/extension.js --external:vscode --external:esbuild --format=cjs --platform=node --target=node22",
"vscode:prepublish": "npm run bundle",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/node": "^25.9.5",
"@types/vscode": "^1.104.0",
"cjs-module-lexer": "^2.2.0",
"es-module-lexer": "^2.3.1",
"sucrase": "^3.35.1"
}
}