-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) 路 2.02 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) 路 2.02 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
{
"name": "openmicro",
"version": "1.4.2",
"description": "Open-source replica of Work Louder's Codex Micro using a consumer gamepad as the physical AI-agent controller.",
"license": "MIT",
"author": "stephenleo",
"repository": {
"type": "git",
"url": "git+https://github.com/stephenleo/OpenMicro.git"
},
"type": "module",
"bin": {
"openmicro": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/cli.d.ts",
"default": "./dist/cli.js"
},
"./harness": {
"types": "./dist/harness/index.d.ts",
"default": "./dist/harness/index.js"
},
"./controller": {
"types": "./dist/controller/index.d.ts",
"default": "./dist/controller/index.js"
},
"./logging": {
"types": "./dist/logging.d.ts",
"default": "./dist/logging.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"CHANGELOG.md"
],
"engines": {
"node": ">=22"
},
"allowScripts": {
"node-pty": true,
"node-hid": true,
"esbuild": true
},
"scripts": {
"postinstall": "chmod +x node_modules/node-pty/prebuilds/*/spawn-helper ../node-pty/prebuilds/*/spawn-helper 2>/dev/null || true",
"prepublishOnly": "npm run build",
"build": "tsc -p tsconfig.build.json",
"dev": "tsx src/cli.ts",
"test": "vitest run --passWithNoTests",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"capture": "tsx scripts/capture-hid.ts",
"gen:controllers": "tsx scripts/gen-controller-table.ts && prettier --write CONTROLLERS.md",
"verify": "npm run typecheck && npm run lint && npm run format:check && npm run test"
},
"dependencies": {
"dualsense-ts": "^6.15.0",
"node-hid": "^3.3.0",
"node-pty": "^1.1.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/node": "^22.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"tsx": "^4.19.0",
"typescript": "^5.6.0",
"typescript-eslint": "^8.0.0",
"vitest": "^3.0.0"
}
}