-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·39 lines (39 loc) · 1.26 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
{
"name": "null0",
"version": "1.0.0",
"description": "wasm-based game-engine",
"type": "module",
"main": "node/index.js",
"scripts": {
"clean": "rimraf build wbuild",
"start:server": "live-server docs",
"build:retro": "cmake -GNinja -B build -DCARTS=OFF -DHOST_TYPE=RETRO && cmake --build build",
"build:carts": "cmake -GNinja -B build -DCARTS=ON -DHOST_TYPE=OFF && cmake --build build && cd cart/as && npm ci && npm run build",
"build:host": "cmake -GNinja -B build -DCARTS=OFF -DHOST_TYPE=RAYLIB && cmake --build build",
"build:web": "emcmake cmake -GNinja -B wbuild && cmake --build wbuild",
"build:site": "mkdir -p docs/wasm && npm run build:web && npm run build:carts && cp wbuild/host/null0.* docs/wasm",
"watch:site": "npm-watch build:site",
"start": "run-p watch:site start:server"
},
"watch": {
"build:site": {
"patterns": [
"cart",
"host"
],
"extensions": "js,html,c,h,png",
"legacyWatch": true
}
},
"keywords": [],
"author": "David Konsumer <[email protected]>",
"license": "ZLIB",
"devDependencies": {
"glob": "latest",
"live-server": "^1.2.0",
"npm-run-all": "latest",
"npm-watch": "latest",
"rimraf": "latest",
"yaml": "latest"
}
}