@mantou/nes
pull deps
git submodule update
compile to wasm
install wasm-pack.
# development
cargo watch -s "wasm-pack build --out-dir ../nes-pkg --target web --scope mantou --profiling"
# or
cargo watch -s "wasm-pack build --out-dir ../nes-pkg --target web --scope mantou --debug"
# build
wasm-pack build --out-dir ../nes-pkg --target web --scope mantou
publish to npm
use yarn publish:nes
at root directory