-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
22 lines (22 loc) · 878 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"private": true,
"scripts": {
"build:wasm-st": "rustup run nightly wasm-pack build --target web",
"build:wasm-mt": "cross-env RUSTFLAGS=\"-C target-feature=+atomics,+bulk-memory,+mutable-globals\" rustup run nightly wasm-pack build --target web --out-dir pkg-parallel -- --features parallel -Z build-std=panic_abort,std",
"build:wasm": "run-p build:wasm-st build:wasm-mt",
"build": "rm -rf dist && npm run build:wasm && webpack build ./index.js --mode production -o dist --output-filename index.js && cp index.html dist/ && cp serve.json dist/",
"start": "serve dist"
},
"devDependencies": {
"cross-env": "^7.0.3",
"npm-run-all": "^4.1.5",
"serve": "^13.0.2",
"wasm-pack": "=0.10.1",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"comlink": "^4.3.1",
"wasm-feature-detect": "^1.2.11"
}
}