forked from thi-ng/umbrella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.36 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
{
"name": "@example/zig-cellular",
"version": "0.0.1",
"private": true,
"description": "Zig-based 2D multi-behavior cellular automata",
"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: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": {
"typescript": "^5.6.2",
"vite": "^5.4.8"
},
"dependencies": {
"@thi.ng/api": "workspace:^",
"@thi.ng/wasm-api": "workspace:^",
"@thi.ng/wasm-api-canvas": "workspace:^",
"@thi.ng/wasm-api-dom": "workspace:^"
},
"browser": {
"process": false
},
"thi.ng": {
"readme": [
"wasm-api",
"wasm-api-canvas",
"wasm-api-dom"
],
"screenshot": "examples/zig-cellular.jpg"
},
"keywords": [
"2d",
"animation",
"automata",
"browser",
"canvas",
"cellular",
"evolutionary",
"example",
"generative",
"interop",
"webassembly",
"zig"
]
}