This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.51 KB
/
package.json
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
{
"name": "wc2",
"displayName": "VSCode for Web with StackBlitz Webcontainer",
"description": "Test for feasibility",
"version": "0.0.1",
"publisher": "jgtest2",
"private": true,
"license": "MIT",
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onFileSystem:wc",
"onCommand:wc.loadWebContainer",
"onCommand:wc.bootWebContainer"
],
"browser": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "wc.loadWebContainer",
"title": "Load Webcontainer global",
"category": "Webcontainer"
},
{
"command": "wc.bootWebContainer",
"title": "Start Webcontainer",
"category": "Webcontainer"
},
{
"command": "wc.deleteFile",
"title": "Delete \"file.txt\"",
"category": "Webcontainer"
},
{
"command": "wc.addFile",
"title": "Add \"file.txt\"",
"category": "Webcontainer"
},
{
"command": "wc.addFiles",
"title": "Add a tree of files",
"category": "Webcontainer"
},
{
"command": "wc.killContainer",
"title": "Destroy Webcontainer",
"category": "Webcontainer"
}
],
"menus": {
"commandPalette": [
{
"command": "wc.killContainer",
"when": "workbenchState == workspace"
},
{
"command": "wc.deleteFile",
"when": "workbenchState == workspace"
},
{
"command": "wc.addFile",
"when": "workbenchState == workspace"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"esbuild-source": "esbuild extension=./src/extension.ts main=./src/main.js --bundle --outdir=dist --external:vscode --format=cjs --sourcemap",
"esbuild-watch": "esbuild extension=./src/extension.ts main=./src/main.js --bundle --outdir=dist --external:vscode --format=cjs --sourcemap --watch",
"watch": "tsc -watch -p ./",
"browser": "npm run esbuild-source && vscode-test-web --port=8080 --open-devtools --extensionDevelopmentPath=. ."
},
"devDependencies": {
"@types/node": "^18.0.5",
"@types/vscode": "^1.59.0",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"@vscode/test-web": "^0.0.24",
"@webcontainer/api": "^0.0.3",
"esbuild": "^0.14.49",
"eslint": "^8.13.0",
"typescript": "^4.7.2"
}
}