fix build path
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
"description": "The original NetHack rogue-like game built as a WebAssembly module",
|
"description": "The original NetHack rogue-like game built as a WebAssembly module",
|
||||||
"main": "src/nethackShim.js",
|
"main": "src/nethackShim.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node test/test.js",
|
"test": "npm run build && node test/test.js",
|
||||||
"clean": "rm ./build/nethack.js; rm ./build/nethack.wasm; true",
|
"clean": "rm ./build/nethack.js; rm ./build/nethack.wasm; true",
|
||||||
"build": "cp ../../../src/nethack.js ../../../src/nethack.wasm ./build",
|
"build": "mkdir build; cp ../../../targets/wasm/nethack.js ../../../targets/wasm/nethack.wasm ./build",
|
||||||
"prepack": "npm run build"
|
"prepack": "npm run build"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
Reference in New Issue
Block a user