-
Notifications
You must be signed in to change notification settings - Fork 66
/
package.json
196 lines (196 loc) · 9.16 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "wasmboy",
"description": "Gameboy / Gameboy Color Emulator written for Web Assembly using AssemblyScript. Shell/Debugger in Preact",
"keywords": [
"web-assembly",
"webassembly",
"gameboy",
"emulator",
"emulation",
"assemblyscript",
"gameboy-color"
],
"author": "Aaron Turner",
"version": "0.7.1",
"license": "GPL-3.0-or-later",
"homepage": "https://wasmboy.app",
"repository": {
"type": "git",
"url": "git+https://github.com/torch2424/wasmBoy.git"
},
"bugs": {
"url": "https://github.com/torch2424/wasmBoy/issues"
},
"main": "dist/wasmboy.wasm.cjs.js",
"module": "dist/wasmboy.wasm.esm.js",
"browser": "dist/wasmboy.wasm.umd.js",
"iife": "dist/wasmboy.wasm.iife.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": {
"@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
"@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": "^3.1.0",
"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"
}
}