-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 1.04 KB
/
package.json
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
{
"name": "silicon8",
"scripts": {
"build": "webpack --mode production && cp $(tinygo env TINYGOROOT)/targets/wasm_exec.js docs/wasm_exec.js && GOPATH=$(pwd) tinygo build -o docs/silicon8.wasm -target wasm silicon8/wasm",
"run": "./run.js ./tests/abc.ch8",
"build:debug": "tinygo build -tags debug -o docs/silicon8.wasm -target wasm silicon8/wasm",
"start": "npm run build && npm run run",
"go-install": "GOPATH=$(pwd) go get silicon8-qt",
"go-start": "GOPATH=$(pwd) go run silicon8-qt",
"serve": "webpack serve --open",
"test": "npm run assemble && jest --verbose",
"assemble": "echo 'Assembling all *.8o files...'; for file in `find . -type f -name \"*.8o\"`; do echo \" * $file\"; target=${file%.8o}; octo $file ${target}.ch8; done"
},
"devDependencies": {
"binary-loader": "^0.0.1",
"bmp-js": "^0.1.0",
"jest": "^27.0.6",
"octo-assembler": "^0.1.1",
"webpack": "^5.47.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"thimbleful": "^1.0.0"
}
}