-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.22 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.22 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
{
"name": "galaxy-sim",
"version": "0.1.0",
"description": "A GPU-accelerated black hole accretion disk simulation in Rust with WebGPU",
"scripts": {
"setup": "npm install && rustup target add wasm32-unknown-unknown",
"build": "npm run build:wasm && npm run copy-assets",
"build:wasm": "wasm-pack build --target web --release --out-dir pkg --out-name galaxy_sim --no-opt",
"copy-assets": "cp -r static/* pkg/",
"dev": "npm run build && npm run serve",
"serve": "npx -y serve pkg -l 8000 --cors",
"clean": "cargo clean && rm -rf pkg",
"test": "cargo test",
"lint": "cargo clippy",
"format": "cargo fmt",
"deploy": "wrangler pages deploy pkg --project-name=galacto",
"check": "cargo check --target wasm32-unknown-unknown",
"precommit": "cargo fmt --check && cargo clippy -- -D warnings && cargo test",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "https://github.com/rgilks/galacto.git"
},
"keywords": [
"rust",
"webassembly",
"webgpu",
"simulation",
"black-hole"
],
"author": "Robert Gilks",
"license": "MIT",
"devDependencies": {
"husky": "^9.1.7",
"wrangler": "^4.54.0"
},
"engines": {
"node": ">=16.0.0"
}
}