-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.23 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
{
"name": "vscode-svelte-wasm-extension-template",
"publisher": "isfopo",
"author": {
"name": "Isaac Poole",
"email": "[email protected]"
},
"displayName": "vscode-svelte-wasm-extension-template",
"description": "An example demonstrating how to use the component model to integrate WebAssembly code into VS Code while providing a Webview written with Svelte.",
"version": "0.0.3",
"categories": [],
"keywords": [
"WASM",
"Component Model"
],
"engines": {
"vscode": "^1.89.0"
},
"main": "./out/extension",
"browser": "./dist/web/extension",
"contributes": {
"commands": [
{
"command": "vscode-svelte-wasm-extension-template.show",
"title": "Show",
"category": "Example"
}
]
},
"dependencies": {
"@vscode/wasm-component-model": "^1.0.1"
},
"devDependencies": {
"@types/node": "^20",
"@types/vscode": "1.89.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"concurrently": "^9.0.1",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-plugin-svelte": "^2.46.0",
"serve": "^14.2.1",
"svelte": "^4.2.19",
"svelte-check": "^4.0.5",
"svelte-cli": "^3.0.0",
"svelte-loader": "^3.2.4",
"svelte-preprocess": "^6.0.3",
"ts-loader": "^9.5.1",
"typescript": "^5.6.2",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"generate:model": "wit2ts --outDir ./src ./wit",
"compile:wasm": "cargo build --target wasm32-unknown-unknown",
"compile:extension": "tsc -b",
"compile:view": "webpack --config src/view/webpack.config.mjs",
"build": "npm run compile:view && npm run compile:extension && npm run compile:wasm",
"watch:wasm": "cargo build --target wasm32-unknown-unknown",
"watch:extension": "tsc -b -w",
"watch:view": "webpack --config src/view/webpack.config.mjs --watch",
"watch": "npm run watch:wasm && concurrently \"npm run watch:view\" \"npm run watch:extension\"",
"lint": "eslint ./src",
"serve": "serve --cors -l 5000 --ssl-cert $HOME/certs/localhost.pem --ssl-key $HOME/certs/localhost-key.pem",
"clean": "rm -rf node_modules && npm install"
}
}