forked from torch2424/wasmboy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
165 lines (165 loc) · 7.33 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
{
"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.3.4",
"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": "npx run-s core:build lib:build",
"start": "npx 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": "npx 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": "npx run-s core:build lib:build:wasm",
"deploy": "npx run-s lib:deploy demo:deploy",
"prettier": "npm run prettier:lint:fix",
"prettier:lint": "npx 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": "npx prettier --config .prettierrc --list-different rollup.*.js preact.config.js demo/**/*.js demo/**/*.css lib/**/*.js core/**/*.ts",
"prettier:lint:fix": "npx prettier --config .prettierrc --write rollup.*.js preact.config.js demo/**/*.js demo/**/*.css lib/**/*.js core/**/*.ts",
"precommit": "npx pretty-quick --staged",
"core:watch": "npx watch \"npm run core:build\" core",
"core:build": "npx run-s core:build:asc core:build:dist core:build:done",
"core:build:asc": "npx asc core/index.ts -b dist/core/core.untouched.wasm -t dist/core/core.untouched.wast -O3 --validate --sourceMap core/dist/core.untouched.wasm.map --memoryBase 0",
"core:build:asc:measure": "npm run core:build:asc -- --measure --noEmit",
"core:build:ts:measure": "npx tsc --project core/tsconfig.json --noEmit --extendedDiagnostics",
"core:build:dist": "npx 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": "npx run-s lib:build:wasm lib:build:ts lib:build:ts:getcoreclosure",
"lib:watch:wasm": "npx rollup -c -w --environment WASM",
"lib:build:wasm": "npx rollup -c --environment PROD,WASM",
"lib:watch:ts": "npx rollup -c -w --environment TS",
"lib:build:ts": "npx rollup -c --environment PROD,TS",
"lib:build:ts:esnext": "npx rollup -c --environment PROD,TS,ES_NEXT",
"lib:build:ts:getcoreclosure": "npx rollup -c --environment PROD,TS,GET_CORE_CLOSURE",
"lib:deploy": "npx run-s core:build lib:build:wasm lib:build:ts lib:deploy:np",
"lib:deploy:np": "npx np",
"test": "npm run test:accuracy",
"test:accuracy": "npx 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": "npx run-s build test:performance:nobuild",
"test:performance:nobuild": "node --experimental-worker node_modules/mocha/bin/_mocha test/performance/performance-test.js --exit",
"debugger:dev": "npm run debugger:watch",
"debugger:watch": "npx rollup -c -w --environment DEBUGGER,SERVE",
"debugger:build": "npx rollup -c --environment DEBUGGER",
"benchmark:build": "npx rollup -c --environment PROD,TS,BENCHMARK",
"benchmark:build:skiplib": "npx rollup -c --environment PROD,TS,BENCHMARK,SKIP_LIB",
"benchmark:dev": "npm run benchmark:watch",
"benchmark:watch": "npx rollup -c -w --environment TS,BENCHMARK,SERVE",
"amp:build": "npx rollup -c --environment PROD,TS,AMP",
"amp:build:skiplib": "npx rollup -c --environment PROD,TS,AMP,SKIP_LIB",
"amp:dev": "npm run amp:watch",
"amp:watch": "npx rollup -c -w --environment TS,AMP,SERVE",
"demo:build": "npx run-s core:build lib:build demo:build:apps",
"demo:build:apps": "npx run-s debugger:build benchmark:build:skiplib amp:build:skiplib",
"demo:cname": "echo 'wasmboy.app' > build/CNAME",
"demo:dist": "cp -r dist/ build/dist",
"demo:gh-pages": "npx gh-pages -d build",
"demo:deploy": "npx run-s demo:build demo:dist demo:cname demo:gh-pages"
},
"files": [
"dist",
"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.7.2",
"@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",
"assemblyscript": "github:AssemblyScript/assemblyscript",
"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",
"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.2.2",
"rollup-plugin-delete": "^0.1.2",
"rollup-plugin-hash": "^1.3.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-serve": "^0.6.0",
"rollup-plugin-typescript": "^1.0.0",
"rollup-plugin-url": "^2.1.0",
"source-map-loader": "^0.2.4",
"stats-lite": "^2.2.0",
"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.1.10"
}
}