forked from thi-ng/umbrella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.6 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
{
"name": "@example/zig-todo-list",
"version": "0.0.1",
"private": true,
"description": "Zig-based To-Do list, DOM creation, local storage task persistence",
"repository": "https://github.com/thi-ng/umbrella",
"author": "Karsten Schmidt <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"start": "yarn build:zig && vite --open --host",
"clean": "bun ../../tools/src/clean-package.ts zig-cache zig-out",
"docs": "yarn prepare:zig && zig build docs -p .",
"build": "tsc && yarn build:zig && vite build --base='./'",
"build:types": "npx wasm-api-bindgen -a analytics.json --lang ts -o src/generated/api.ts --lang zig -o zig/api-generated.zig src/typedefs.json",
"build:zig": "yarn prepare:zig && zig build && wasm-opt zig-out/bin/main.wasm -o src/main.wasm -O3 && wasm-dis -o src/main.wast src/main.wasm",
"prepare:zig": "cp ../../node_modules/@thi.ng/wasm-api/zig/build.zig wasm-api-build.zig",
"preview": "vite preview --host --open"
},
"devDependencies": {
"@thi.ng/wasm-api-bindgen": "workspace:^",
"typescript": "^5.6.2",
"vite": "^5.4.8"
},
"dependencies": {
"@thi.ng/api": "workspace:^",
"@thi.ng/date": "workspace:^",
"@thi.ng/wasm-api": "workspace:^",
"@thi.ng/wasm-api-dom": "workspace:^",
"@thi.ng/wasm-api-schedule": "workspace:^"
},
"browser": {
"process": false
},
"thi.ng": {
"readme": [
"date",
"wasm-api",
"wasm-api-bindgen",
"wasm-api-dom",
"wasm-api-schedule"
],
"screenshot": "examples/zig-todo-list.png"
},
"keywords": [
"browser",
"codegen",
"example",
"interop",
"time",
"todo",
"tool",
"ui",
"webassembly",
"zig"
]
}