-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.41 KB
/
Copy pathpackage.json
File metadata and controls
36 lines (36 loc) · 1.41 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
{
"name": "policyc",
"version": "0.3.0",
"private": true,
"type": "module",
"bin": {
"policyc": "dist/cli.js"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "tsx --test test/**/*.test.ts",
"test:all": "pnpm typecheck && pnpm test && pnpm graph:validate && .venv/bin/ruff format --check runtime/python && .venv/bin/ruff check runtime/python && .venv/bin/mypy runtime/python/policyc_runtime && .venv/bin/pytest -q runtime/python/tests",
"graph:validate": "tsx src/tools/validateGraph.ts",
"py:format": ".venv/bin/ruff format runtime/python",
"py:lint": ".venv/bin/ruff check runtime/python",
"py:typecheck": ".venv/bin/mypy runtime/python/policyc_runtime",
"py:test": ".venv/bin/pytest -q runtime/python/tests",
"runtime:serve": ".venv/bin/policyc-runtime serve",
"demo": "pnpm build && node dist/cli.js compile-candidates --input \"what's the latest OpenAI news?\" --output demo-run --model fake-v1 && .venv/bin/policyc-runtime run demo-run/manifest.json",
"policyc": "node dist/cli.js",
"eval": "node dist/cli.js eval"
},
"dependencies": {
"gpt-tokenizer": "^3.4.0",
"yaml": "^2.8.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/node": "^24.0.0",
"tsx": "^4.23.0",
"typescript": "^5.8.0"
},
"packageManager": "pnpm@10.0.0",
"pnpm": { "onlyBuiltDependencies": ["esbuild"] }
}