-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathpackage.json
More file actions
28 lines (28 loc) · 969 Bytes
/
package.json
File metadata and controls
28 lines (28 loc) · 969 Bytes
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
{
"name": "http-server-hono",
"description": "Example of a WASI-enabled WebAsssembly HTTP server powered by Hono",
"private": true,
"main": "dist/guest/component.ts",
"type": "module",
"scripts": {
"gen:types": "jco guest-types wit -o generated/types",
"build:ts": "rolldown -c rolldown.config.mjs",
"build:component": "jco componentize -w wit -o dist/component.wasm dist/guest/component.js",
"build": "npm run gen:types && npm run build:ts && npm run build:component",
"transpile": "jco transpile -o dist/transpiled dist/component.wasm",
"serve": "jco serve dist/component.wasm",
"demo": "node scripts/demo.mjs",
"all": "npm run build && npm run demo"
},
"license": "MIT",
"dependencies": {
"@bytecodealliance/jco-std": "^0.1.0",
"hono": "^4.10.4"
},
"devDependencies": {
"@bytecodealliance/jco": "^1.17.6",
"rolldown": "^1.0.0-beta.47",
"terminate": "^2.8.0",
"typescript": "^5.9.2"
}
}