-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 5.55 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 5.55 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
128
129
130
131
132
133
134
{
"name": "poe-code",
"version": "0.0.0-dev",
"description": "CLI tool to configure Poe API for developer workflows.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build && tsc -p tsconfig.build.json && node scripts/generate-bin-wrappers.mjs && node scripts/bundle.mjs",
"build:deps": "node scripts/list-workspace-deps.mjs",
"predev": "turbo run build --output-logs=none --log-prefix=none --verbosity=0 > /dev/null 2>&1",
"dev": "tsx src/index.ts",
"start": "node dist/bin.cjs",
"dev:bundle": "npm run build && node dist/bin.cjs",
"test": "turbo run test:unit",
"test:unit": "vitest run",
"typecheck": "npm run lint:types",
"check:semver": "node -e \"const semver=require('semver'); const pkg=require('./package.json'); if(!semver.valid(pkg.version)){console.error('Invalid semver version in package.json:', pkg.version); process.exit(1);}\"",
"lint": "npm run lint:eslint && npm run lint:types && npm run lint:workflows",
"lint:workflows": "(command -v actionlint > /dev/null || bash scripts/setup-actionlint.sh) && (command -v actionlint > /dev/null && actionlint || ./actionlint)",
"lint:eslint": "eslint . --ext ts",
"lint:types": "tsc -p tsconfig.build.json --noEmit",
"labels:generate": "tsx scripts/generate-labels.ts",
"screenshot": "tsx scripts/screenshot.ts",
"screenshot-poe-code": "tsx scripts/screenshot.ts --poe-code",
"generate:design-docs": "turbo run generate:docs --filter=@poe-code/design-system",
"generate:design-docs:all": "npm run generate:design-docs:all -w @poe-code/design-system",
"format": "prettier --check .",
"format:write": "prettier --write .",
"watch:diff": "tsx local_scripts/watch-diff.ts",
"test:integration": "vitest run tests/integration/",
"test:workflows": "bats .github/workflows/test/workflows.bats",
"test:workflows:fast": "bats --filter 'dry-run' .github/workflows/test/workflows.bats",
"test:workflows:all": "bash scripts/test-workflows.sh",
"test:workflows:ci": "ACT_FULL=1 bash scripts/test-workflows.sh",
"test:record": "POE_SNAPSHOT_MODE=record npm run test:integration",
"test-generate": "tsx scripts/test-generate.ts",
"snapshots": "tsx scripts/snapshots.ts",
"snapshots:list": "npm run snapshots -- list",
"snapshots:refresh": "npm run snapshots -- refresh",
"snapshots:delete": "npm run snapshots -- delete",
"snapshots:list:stale": "npm run snapshots -- list --stale",
"snapshots:delete:stale": "npm run snapshots -- delete --stale",
"e2e": "vitest run --config e2e/vitest.config.ts",
"e2e:verbose": "E2E_VERBOSE=1 vitest run --config e2e/vitest.config.ts --reporter=verbose",
"e2e:cleanup": "tsx packages/e2e-docker-test-runner/scripts/cleanup.ts",
"e2e:cleanup:aggressive": "tsx packages/e2e-docker-test-runner/scripts/cleanup.ts --aggressive",
"e2e:logs": "tsx packages/e2e-docker-test-runner/scripts/logs.ts",
"e2e:logs:rotate": "tsx packages/e2e-docker-test-runner/scripts/logs.ts --rotate",
"e2e:cache:clear": "rm -rf ~/.cache/poe-e2e",
"prepack": "npm run build",
"prepare": "husky",
"install-local-package": "npm pack --pack-destination /tmp && npm install -g /tmp/poe-code-*.tgz && rm /tmp/poe-code-*.tgz",
"smoke": "tsx scripts/smoke-test.ts",
"smoke:verbose": "tsx scripts/smoke-test.ts --verbose",
"metric:test_count": "node scripts/metric-test-count.mjs",
"metric:test_duration": "node scripts/metric-test-duration.mjs"
},
"bin": {
"poe": "dist/bin.cjs",
"poe-code": "dist/bin.cjs",
"poe-code-configure": "dist/bin.cjs",
"poe-claude": "dist/bin/poe-claude.js",
"poe-codex": "dist/bin/poe-codex.js",
"poe-opencode": "dist/bin/poe-opencode.js",
"poe-agent": "dist/bin/poe-agent.js",
"tiny-stdio-mcp-test-server": "packages/tiny-stdio-mcp-test-server/dist/cli.js"
},
"files": [
"dist"
],
"engines": {
"node": ">=18"
},
"packageManager": "npm@10.9.2",
"dependencies": {
"@clack/prompts": "^1.0.0",
"chalk": "^5.6.2",
"commander": "^14.0.3",
"console-table-printer": "^2.15.0",
"diff": ">=8.0.3",
"gray-matter": "^4.0.3",
"jsonc-parser": "^3.3.1",
"mustache": "^4.2.0",
"parse-duration": "^2.1.5",
"semver": "^7.7.4",
"smol-toml": "^1.6.0",
"yaml": "^2.8.2"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@modelcontextprotocol/sdk": "^1.26.0",
"@poe-code/agent-spawn": "*",
"@poe-code/cmdkit": "*",
"@poe-code/github-workflows": "*",
"@poe-code/config-mutations": "*",
"@poe-code/design-system": "*",
"@poe-code/e2e-docker-test-runner": "*",
"@poe-code/experiment-loop": "*",
"@poe-code/pipeline": "*",
"@poe-code/poe-acp-client": "*",
"@poe-code/poe-code-config": "*",
"@poe-code/process-launcher": "*",
"@poe-code/process-runner": "*",
"@poe-code/ralph": "*",
"@types/mustache": "^4.2.6",
"@types/node": "^25.2.2",
"@types/semver": "^7.7.1",
"auth-store": "*",
"bats": "^1.13.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.3.0",
"husky": "^9.1.7",
"memfs": "^4.56.10",
"poe-oauth": "*",
"prettier": "^3.8.1",
"terminal-png": "*",
"tiny-stdio-mcp-server": "*",
"tiny-stdio-mcp-test-server": "*",
"tsx": ">=4.21.0",
"turbo": "^2.8.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0",
"vitest": "^4.0.18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/poe-platform/poe-code.git"
}
}