Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 3.18 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 3.18 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
{
"name": "sphica",
"private": true,
"packageManager": "bun@1.4.0",
"scripts": {
"setup": "bun install --cwd server --frozen-lockfile --ignore-scripts && node scripts/install-hooks.mjs",
"cli": "node server/src/cli.ts",
"lint": "node scripts/oxlint.mjs && bun run format:check && node scripts/check-json-keys.mjs",
"format:check": "node scripts/oxfmt.mjs --check",
"fix": "node scripts/oxlint.mjs --fix && node scripts/oxfmt.mjs",
"verify:ai": "node scripts/check-ai-config.mjs && node scripts/check-links.mjs",
"architecture": "node scripts/check-architecture.mjs",
"english": "node scripts/check-english.mjs",
"markdown": "node scripts/check-markdown.mjs",
"comments": "node scripts/check-comments.mjs",
"headers": "node scripts/check-license-headers.mjs",
"knip": "server/node_modules/.bin/knip",
"typecheck": "bun run --cwd server typecheck",
"check": "bun run lint && bun run verify:ai && bun run naming && bun run pairs && bun run rule-scopes && bun run sql && bun run architecture && bun run english && bun run markdown && bun run comments && bun run headers && bun run codegen:check && bun run typecheck && bun run knip",
"test": "bun run --cwd server test",
"verify": "bun run check && bun run bundle && bun run unit && bun run sql:live && bun run hooks:live && bun run codex-trust:live && bun run acceptance",
"ci:static": "bun run check && bun run bundle && bun run sql:live && bun run hooks:live && bun run codex-trust:live",
"ci:unit": "bun run bundle && bun run unit",
"ci:acceptance": "bun run bundle && bun run acceptance",
"bundle": "node scripts/bundle.mjs",
"release:plan": "node scripts/release-plan.mjs",
"release:status": "node scripts/release-status.mjs",
"codegen": "node scripts/codegen.mjs",
"codegen:check": "node scripts/codegen.mjs --check",
"sql:reach": "node scripts/check-sql-reach.mjs",
"unit": "node scripts/run-unit.mjs",
"sql:live": "node scripts/check-sql-live.mjs",
"hooks:live": "node scripts/check-hooks-live.mjs",
"codex-trust:live": "node scripts/check-codex-trust-live.mjs",
"naming": "node scripts/check-naming.mjs",
"notices": "node scripts/third-party-notices.mjs --check",
"pairs": "node scripts/check-pairs.mjs",
"rule-scopes": "node scripts/check-rule-scopes.mjs",
"sql": "node scripts/check-sql.mjs",
"acceptance": "node --test --test-timeout=60000 server/evals/acceptance/shard-1.ts server/evals/acceptance/shard-2.ts server/evals/acceptance/shard-3.ts server/evals/acceptance/shard-4.ts server/evals/acceptance/shard-5.ts server/evals/acceptance/shard-6.ts server/evals/acceptance/shard-7.ts server/evals/acceptance/shard-8.ts",
"eval:plugin": "bun run bundle && claude plugin eval . --eval-dir server/evals/plugin/cases --trust-plugin --scaffold --allow-real-servers --allow-tools Edit Write \"mcp__plugin_sphica_sphica__*\" \"mcp__plugin_sphica_record__*\" --model claude-sonnet-5-5 --judge-model claude-sonnet-5-5 --no-publish --max-cost-usd 5 -j 4",
"mutation": "bun install --cwd tools/mutation --frozen-lockfile --ignore-scripts && node tools/mutation/node_modules/@stryker-mutator/core/bin/stryker.js run tools/mutation/stryker.config.mjs"
}
}