-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 974 Bytes
/
package.json
File metadata and controls
22 lines (22 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "GPU-particles-web",
"version": "1.0.0",
"description": "GPU particle system with WebGL2 and WebGPU ray tracing",
"private": true,
"scripts": {
"build:wasm": "cd physics && wasm-pack build crates/xpbd-wasm --target web --out-dir ../../../wasm/pkg",
"build:wasm:debug": "cd physics && wasm-pack build crates/xpbd-wasm --target web --dev --out-dir ../../../wasm/pkg",
"build:ts": "esbuild index.ts --bundle --outfile=dist/index.js --format=esm --sourcemap && esbuild index-webgpu.ts --bundle --outfile=dist/index-webgpu.js --format=esm --sourcemap",
"build": "npm run build:wasm && npm run build:ts",
"build:watch": "npm run build:ts -- --watch",
"typecheck": "tsc --noEmit",
"dev": "npm run build && node serve.mjs",
"test:rust": "cd physics && cargo test",
"bench:rust": "cd physics && cargo bench"
},
"devDependencies": {
"@webgpu/types": "^0.1.69",
"esbuild": "^0.27.3",
"typescript": "^5.9.3"
}
}