forked from madarco/agentbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 2.28 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
{
"name": "agentbox-monorepo",
"private": true,
"version": "0.0.0",
"description": "AgentBox monorepo root",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=20.10",
"pnpm": ">=9"
},
"packageManager": "pnpm@9.15.0",
"pnpm": {
"overrides": {
"e2b>chalk": "^4.1.2"
}
},
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "turbo run test",
"typecheck": "turbo run typecheck",
"check:plugin-skill": "node scripts/check-plugin-skill-sync.mjs",
"clean": "turbo run clean && rm -rf node_modules .turbo",
"register": "src=\"$PWD/apps/cli/dist/index.js\"; test -x \"$src\" || { echo 'build first: pnpm build' >&2; exit 1; }; for d in /opt/homebrew/bin /usr/local/bin \"$HOME/.local/bin\"; do test -w \"$d\" && ln -sf \"$src\" \"$d/agentbox\" && echo \"linked $d/agentbox -> $src\" && { \"$src\" install --skills-only || echo 'skill link failed (bin link is fine)' >&2; } && exit 0; done; echo 'no writable bin dir found in /opt/homebrew/bin, /usr/local/bin, ~/.local/bin' >&2; exit 1",
"unregister": "src=\"$PWD/apps/cli/dist/index.js\"; removed=0; for d in /opt/homebrew/bin /usr/local/bin \"$HOME/.local/bin\"; do f=\"$d/agentbox\"; if test -L \"$f\" && test \"$(readlink \"$f\")\" = \"$src\"; then rm \"$f\" && echo \"removed $f\" && removed=1; fi; done; test \"$removed\" = 1 || { echo 'no matching symlink found'; exit 1; }",
"drive": "tsx apps/cli/test/_harness/drive.ts",
"tray:build": "test -d ../agentbox-tray || { echo 'sibling ../agentbox-tray checkout not found' >&2; exit 1; }; ../agentbox-tray/scripts/make-app.sh",
"tray:start": "open ../agentbox-tray/AgentBoxTray.app",
"tray:stop": "pkill -x AgentBoxTray || true",
"tray:restart": "pkill -x AgentBoxTray || true; sleep 1; open ../agentbox-tray/AgentBoxTray.app",
"tray:dev": "pnpm run tray:build && pnpm run tray:restart"
},
"devDependencies": {
"@types/node": "^22.10.1",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.4.1",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"vitest": "^2.1.8"
}
}