Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.15 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.15 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
{
"name": "@vod-studio/unkernel",
"version": "0.1.0",
"description": "Linux on WebAssembly: boot an Alpine riscv64 userland in Bun or the browser",
"license": "MIT AND GPL-2.0-only",
"author": "Pooya Parsa <pooya@pi0.io>",
"repository": {
"type": "git",
"url": "git+https://github.com/VOD-Studio/unkernel.git"
},
"type": "module",
"sideEffects": false,
"exports": {
".": {
"node": {
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
},
"default": {
"types": "./dist/web.d.mts",
"default": "./dist/web.mjs"
}
},
"./node": {
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
},
"./web": {
"types": "./dist/web.d.mts",
"default": "./dist/web.mjs"
},
"./alpine.wasm": "./dist/unkernel-alpine.wasm",
"./package.json": "./package.json"
},
"types": "./dist/node.d.mts",
"bin": {
"unkernel": "./dist/cli.mjs"
},
"files": [
"dist",
"LICENSE",
"LICENSE-MIT"
],
"engines": {
"bun": ">=1.4.5"
},
"scripts": {
"build": "bun run --bun obuild",
"typecheck": "bun run --bun tsc -p .",
"test": "bun run typecheck && bun test ./test/block.test.ts ./test/net.test.ts ./test/tty.test.ts ./test/http.test.ts ./test/9p.test.ts",
"test:block": "bun test ./test/block.test.ts",
"test:net": "bun test ./test/net.test.ts",
"test:tty": "bun test ./test/tty.test.ts",
"test:9p": "bun test ./test/9p.test.ts",
"test:http": "bun test ./test/http.test.ts",
"test:kpatch": "bun test --timeout 120000 ./test/kpatch.test.ts",
"test:wasi": "node test/wasi-node.ts",
"test:api": "bun test --timeout 120000 ./test/api.test.ts",
"unkernel": "bun js/cli.ts",
"dev": "bun run --cwd web dev",
"build:web": "bun run --cwd web build",
"start:web": "bun run --cwd web start",
"typecheck:web": "bun run --cwd web typecheck",
"test:web": "bun web/test/headless.mjs",
"test:web:smp": "bun web/test/smp.mjs"
},
"devDependencies": {
"@types/node": "^24.19.2",
"obuild": "^0.4.45",
"typescript": "^7.0.2"
},
"packageManager": "bun@1.4.5",
"workspaces": ["web"]
}