-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.38 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.38 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
{
"name": "sample-wasi-http-js",
"version": "0.1.1",
"description": "Sample project demonstratingu JS project targeting WASI http",
"homepage": "https://github.com/bytecodealliance/sample-wasi-http-js",
"license": "(Apache-2.0 WITH LLVM-exception)",
"author": "Tomasz Andrzejak",
"repository": {
"type": "git",
"url": "https://github.com/bytecodealliance/sample-wasi-http-js"
},
"type": "module",
"scripts": {
"bundle": "rolldown -c",
"build": "npm run bundle && componentize-js --aot --wit wit -o dist/$npm_package_name.wasm dist/bundle.js",
"build:hono": "npm run bundle -- --input src/server-hono.js && componentize-js --aot --wit wit -o dist/$npm_package_name.wasm dist/bundle.js",
"serve": "npm run build && wasmtime serve -S common dist/$npm_package_name.wasm",
"serve:hono": "npm run build:hono && wasmtime serve -S common dist/$npm_package_name.wasm",
"wit:fetch": "wkg wit fetch",
"wit:update": "wkg wit update",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"lint": "oxlint",
"lint:fix": "npm run lint -- --fix",
"test": "vitest --run"
},
"dependencies": {
"hono": "^4.12.12",
"itty-router": "^5.0.23"
},
"devDependencies": {
"@bytecodealliance/componentize-js": "0.20.0",
"oxfmt": "^0.44.0",
"oxlint": "^1.59.0",
"rolldown": "^1.0.0-rc.15",
"vitest": "^4.1.4",
"wait-on": "^9.0.5"
}
}