UNPKG

@soapbox.pub/wasmboy

Version:

Soapbox fork of Wasmboy.

199 lines (198 loc) 9.25 kB
{ "name": "@soapbox.pub/wasmboy", "description": "Soapbox fork of Wasmboy.", "keywords": [ "web-assembly", "webassembly", "gameboy", "emulator", "emulation", "assemblyscript", "gameboy-color" ], "author": "Aaron Turner", "contributors": [ "Alex Gleason" ], "version": "0.8.0", "license": "GPL-3.0-or-later", "homepage": "https://gitlab.com/soapbox-pub/wasmboy", "repository": { "type": "git", "url": "git+https://gitlab.com/soapbox-pub/wasmboy.git" }, "bugs": { "url": "https://gitlab.com/soapbox-pub/wasmboy/-/issues" }, "engines": { "node": ">=16.0.0" }, "module": "dist/wasmboy.wasm.esm.js", "scripts": { "prepare": "run-s core:build lib:build", "start": "concurrently --kill-others --names \"DEBUGGER,CORE,LIB\" -c \"bgBlue.bold,bgMagenta.bold,bgGreen.bold\" \"npm run debugger:watch\" \"npm run core:watch\" \"npm run lib:watch:wasm\"", "start:ts": "concurrently --kill-others --names \"DEBUGGER,LIBANDCORETS\" -c \"bgBlue.bold,bgGreen.bold\" \"npm run debugger:watch\" \"npm run lib:watch:ts\"", "dev": "npm run start", "watch": "npm run start", "dev:ts": "npm run start:ts", "watch:ts": "npm run start:ts", "build": "run-s core:build lib:build:wasm", "deploy": "run-s lib:deploy demo:deploy", "prettier": "npm run prettier:lint:fix", "prettier:lint": "run-s prettier:lint:message prettier:lint:list", "prettier:lint:message": "echo \"Listing unlinted files, will show nothing if everything is fine.\"", "prettier:lint:list": "prettier --config .prettierrc --list-different rollup.*.js preact.config.js demo/**/*.js demo/**/*.css lib/**/*.js core/**/*.ts", "prettier:lint:fix": "prettier --config .prettierrc --write rollup.*.js preact.config.js demo/**/*.js demo/**/*.css lib/**/*.js core/**/*.ts", "precommit": "pretty-quick --staged", "core:watch": "watch \"npm run core:build\" core", "core:build": "run-s core:build:asc core:build:dist core:build:done", "core:build:asc": "asc core/index.ts -b dist/core/core.untouched.wasm -t dist/core/core.untouched.wat -O3 --converge --sourceMap core/dist/core.untouched.wasm.map --memoryBase 0", "core:build:ts": "rollup -c --environment TS", "core:build:asc:measure": "npm run core:build:asc -- --measure --noEmit", "core:build:ts:measure": "tsc --project core/tsconfig.json --noEmit --extendedDiagnostics", "core:build:dist": "run-s core:build:dist:mkdir core:build:dist:cp", "core:build:dist:mkdir": "mkdir -p build/assets", "core:build:dist:cp": "cp dist/core/*.untouched.* build/assets", "core:build:done": "echo \"Built Core!\"", "lib:build": "run-s lib:build:wasm lib:build:ts lib:build:ts:getcoreclosure", "lib:watch:wasm": "rollup -c -w --environment WASM", "lib:build:wasm": "rollup -c --environment PROD,WASM", "lib:watch:ts": "rollup -c -w --environment TS", "lib:build:ts": "rollup -c --environment PROD,TS", "lib:build:ts:esnext": "rollup -c --environment PROD,TS,ES_NEXT", "lib:build:ts:getcoreclosure": "rollup -c --environment PROD,TS,GET_CORE_CLOSURE", "lib:build:ts:getcoreclosure:closuredebug": "rollup -c --environment PROD,TS,GET_CORE_CLOSURE,CLOSURE_DEBUG", "lib:deploy": "run-s core:build lib:build:wasm lib:build:ts lib:deploy:np", "lib:deploy:np": "np --no-cleanup", "test": "npm run test:accuracy", "test:accuracy": "run-s build test:accuracy:nobuild", "test:accuracy:nobuild": "node --experimental-worker node_modules/mocha/bin/_mocha test/accuracy/accuracy-test.js --exit", "test:perf": "npm run test:performance", "test:performance": "run-s build test:performance:nobuild", "test:performance:nobuild": "node --experimental-worker node_modules/mocha/bin/_mocha test/performance/performance-test.js --exit", "test:integration": "run-s build test:integration:lib test:integration:headless", "test:integration:nobuild": "run-s test:integration:lib test:integration:headless", "test:integration:lib": "node --experimental-worker node_modules/mocha/bin/_mocha test/integration/lib-test.js --exit", "test:integration:headless": "node --experimental-worker node_modules/mocha/bin/_mocha test/integration/headless-simple.js --timeout 20000 --exit", "test:core": "run-s build test:core:savestate", "test:core:nobuild": "run-s test:core:savestate", "test:core:savestate": "node --experimental-worker node_modules/mocha/bin/_mocha test/core/save-state.js --timeout 10000 --exit", "debugger:dev": "npm run debugger:watch", "debugger:watch": "rollup -c -w --environment DEBUGGER,SERVE", "debugger:build": "rollup -c --environment DEBUGGER", "debugger:build:skiplib": "rollup -c --environment DEBUGGER,SKIP_LIB", "benchmark:build": "rollup -c --environment PROD,TS,BENCHMARK", "benchmark:build:skiplib": "rollup -c --environment PROD,TS,BENCHMARK,SKIP_LIB", "benchmark:dev": "npm run benchmark:watch", "benchmark:watch": "rollup -c -w --environment BENCHMARK,SERVE", "amp:build": "rollup -c --environment PROD,TS,AMP", "amp:build:skiplib": "rollup -c --environment PROD,TS,AMP,SKIP_LIB", "amp:dev": "npm run amp:watch", "amp:watch": "rollup -c -w --environment AMP,SERVE", "iframe:dev": "npm run iframe:watch", "iframe:watch": "rollup -c -w --environment IFRAME,SERVE", "iframe:serve": "serve build/iframe -p 8080", "iframe:build": "rollup -c --environment IFRAME", "iframe:build:skiplib": "rollup -c --environment IFRAME,SKIP_LIB", "demo:build": "run-s core:build lib:build demo:build:apps", "demo:build:apps": "run-s debugger:build:skiplib benchmark:build:skiplib amp:build:skiplib iframe:build:skiplib", "demo:cname": "echo 'wasmboy.app' > build/CNAME", "demo:dist": "cp -r dist/ build/dist", "demo:gh-pages": "gh-pages -d build", "demo:deploy": "run-s demo:build demo:dist demo:cname demo:gh-pages", "wasmerboy:build": "asc demo/wasmerboy/index.ts -b demo/wasmerboy/dist/wasmerboy.wasm -O3 --converge --use abort=wasi_abort --runtime stub --memoryBase 8324096", "wasmerboy:start": "cd demo/wasmerboy && wapm run wasmerboy --dir=tobutobugirl tobutobugirl/tobutobugirl.gb && cd .." }, "files": [ "dist", "core", "lib", "README.md", "LICENSE" ], "dependencies": { "audiobuffer-to-wav": "git+https://github.com/torch2424/audiobuffer-to-wav.git#es-module-rollup", "idb": "^2.1.3", "raf": "^3.4.0", "responsive-gamepad": "1.1.0" }, "devDependencies": { "@babel/core": "^7.1.2", "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/plugin-proposal-export-default-from": "^7.2.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-transform-react-jsx": "^7.0.0", "@phosphor/commands": "^1.6.1", "@phosphor/default-theme": "^0.1.0", "@phosphor/messaging": "^1.2.2", "@phosphor/widgets": "^1.6.0", "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", "@wasmer/io-devices-lib-assemblyscript": "^0.1.3", "as-wasi": "git+https://github.com/jedisct1/as-wasi.git", "assemblyscript": "^0.15.1", "babel-plugin-filter-imports": "^2.0.3", "babel-preset-env": "^1.6.1", "big-integer": "^1.6.38", "browser-detect": "^0.2.28", "bulma": "^0.7.1", "chart.js": "^2.7.3", "chartjs-plugin-downsample": "^1.0.2", "chota": "^0.5.2", "concurrently": "^3.5.1", "devtools-detect": "^2.2.0", "gb-instructions-opcodes": "0.0.4", "gh-pages": "^1.1.0", "hash-generator": "^0.1.0", "husky": "^1.0.0-rc.8", "load-script": "^1.0.0", "markdown-table": "^1.1.1", "microseconds": "^0.1.0", "mocha": "^5.0.1", "normalize.css": "^8.0.1", "np": "^8.0.4", "npm-run-all": "^4.1.5", "performance-now": "^2.1.0", "pngjs-image": "^0.11.7", "postcss-import": "^12.0.1", "preact": "^8.2.1", "preact-compat": "^3.17.0", "preact-portal": "^1.1.3", "preact-virtual-list": "^0.3.1", "prettier": "^1.12.1", "pretty-quick": "^1.6.0", "pubx": "0.0.3", "recursive-readdir-sync": "^1.0.6", "rollup": "^0.66.1", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-bundle-size": "^1.0.2", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-copy-glob": "^0.3.1", "rollup-plugin-delete": "^0.1.2", "rollup-plugin-hash": "^1.3.0", "rollup-plugin-json": "^3.1.0", "rollup-plugin-livereload": "^1.3.0", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-postcss": "^1.6.2", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-serve": "^1.0.2", "rollup-plugin-svelte": "5.1.1", "rollup-plugin-terser": "^5.2.0", "rollup-plugin-typescript": "^1.0.0", "rollup-plugin-url": "^2.1.0", "serve": "^11.3.2", "shared-gb": "git+https://github.com/torch2424/shared-gb-js.git", "source-map-loader": "^0.2.4", "stats-lite": "^2.2.0", "svelte": "3.19.2", "terser": "^4.6.6", "traverse": "^0.6.6", "tslib": "^1.9.3", "typescript": "^3.1.3", "uglifyjs-webpack-plugin": "^1.2.3", "url-loader": "^1.0.1", "valoo": "^2.1.0", "watch": "^1.0.2", "webpack-dev-server": "^3.11.0" } }