Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (127 loc) · 3.54 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (127 loc) · 3.54 KB
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
{
"name": "node-mgba",
"version": "0.3.2",
"packageManager": "pnpm@10.19.0",
"description": "Scriptable, headless Game Boy and GBA emulator for Node.js powered by libmgba",
"type": "module",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"license": "MIT",
"author": "Joel Zhang <joel@jcz.dev>",
"repository": {
"type": "git",
"url": "git+https://github.com/ARISE-Foundation/node-mgba.git"
},
"bugs": {
"url": "https://github.com/ARISE-Foundation/node-mgba/issues"
},
"homepage": "https://arise-foundation.github.io/node-mgba/",
"keywords": [
"gameboy",
"gba",
"emulator",
"libmgba",
"mgba",
"headless",
"automation",
"memory-reader",
"pokemon"
],
"os": [
"linux",
"win32"
],
"cpu": [
"x64"
],
"files": [
"dist/src",
"dist/plugins",
"native/libmgba_shim.so",
"native/mgba_shim.dll",
"vendor/mgba-dist/lib/libmgba.so*",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js",
"default": "./dist/src/index.js"
},
"./browser": {
"types": "./dist/src/browser/index.d.ts",
"import": "./dist/src/browser/index.js",
"default": "./dist/src/browser/index.js"
},
"./plugins": {
"types": "./dist/plugins/index.d.ts",
"import": "./dist/plugins/index.js"
},
"./schema": {
"types": "./dist/src/schema/index.d.ts",
"import": "./dist/src/schema/index.js"
},
"./testing": {
"types": "./dist/src/testing/index.d.ts",
"import": "./dist/src/testing/index.js"
}
},
"scripts": {
"build:native": "make -C native",
"build:ts": "rm -rf dist && tsc -p tsconfig.json",
"build:gui": "vite build --config gui/vite.config.ts",
"build": "npm-run-all build:native build:ts build:gui",
"pretest": "pnpm build",
"check:auth": "node -e \"try { child_process.execSync('npm whoami', { stdio: 'inherit' }); } catch { console.error('\\n⚠️ npm session expired. Run pnpm login first.\\n'); process.exit(1); }\"",
"prepublishOnly": "pnpm check:auth && pnpm build",
"type-check": "tsc --noEmit && vue-tsc --noEmit -p gui/tsconfig.json",
"lint": "eslint . && tsc --noEmit && vue-tsc --noEmit -p gui/tsconfig.json",
"test": "node --import tsx/esm --test tests/*.test.ts",
"bench": "tsx benchmarks/benchmark.ts",
"gui": "tsx gui/server.ts",
"gui:dev": "vite --config gui/vite.config.ts",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"dependencies": {
"koffi": "^3.1.6",
"sharp": "^0.33.5",
"xxhash-wasm": "^1.1.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"koffi",
"sharp"
]
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@fontsource/jersey-10": "^5.3.0",
"@fontsource/press-start-2p": "^5.3.0",
"@tailwindcss/vite": "^4.3.3",
"@types/node": "^26.4.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.68.0",
"@typescript-eslint/parser": "^8.68.0",
"@vitejs/plugin-vue": "^6.0.8",
"eslint": "^10.9.1",
"eslint-plugin-vue": "^10.10.0",
"globals": "^17.11.0",
"lucide-vue-next": "^1.0.0",
"npm-run-all": "^4.1.5",
"tailwindcss": "^4.3.3",
"tsx": "^4.23.12",
"typescript": "^5.7.3",
"vite": "^8.2.2",
"vitepress": "^1.6.4",
"vue": "^3.5.42",
"vue-eslint-parser": "^10.4.1",
"vue-tsc": "^3.3.11",
"ws": "^8.21.3"
},
"engines": {
"node": ">=20.0.0"
}
}