Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.57 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.57 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
{
"name": "structured-context",
"version": "0.21.0",
"description": "Keep your content clean and your thinking clear with assistive tools for structured knowledge",
"module": "./dist/index.js",
"type": "module",
"license": "MIT",
"bin": {
"sctx": "dist/index.js"
},
"files": [
"dist/",
"schemas/",
"docs/concepts.md",
"docs/config.md",
"docs/schemas.md",
"docs/rules.md"
],
"exports": {
".": "./dist/index.js",
"./api": {
"types": "./dist/api.d.ts",
"default": "./dist/api.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"default": "./dist/browser.js"
},
"./types": {
"types": "./dist/types.d.ts",
"default": "./dist/types.js"
},
"./testing": {
"types": "./dist/testing.d.ts",
"default": "./dist/testing.js"
}
},
"scripts": {
"clean": "rm -rf dist",
"generate:schema-meta": "bun run scripts/generate-schema-meta.ts",
"typecheck": "tsc --noEmit",
"build": "bun run clean && bun run generate:schema-meta && tsc -p tsconfig.build.json && cp -r schemas dist/ && chmod +x dist/index.js",
"prepublishOnly": "bun run build",
"validate": "bun run src/index.ts validate",
"diagram": "bun run src/index.ts diagram",
"test": "bun test tests/",
"test:smoke": "bun test smoke/",
"test:package": "bash scripts/test-package.sh",
"test:judge": "SCTX_LIVE_JUDGE_TESTS=1 bun test tests/judge/live.test.ts",
"test:models": "SCTX_MODEL_VALIDATION=1 bun test tests/judge/model-validation.test.ts",
"test:hook": "bun test hook-test/unit/",
"test:hook:e2e": "bun test hook-test/hooks.test.ts",
"test:all": "bun test",
"lint": "biome check",
"lint:fix": "biome check --write",
"preversion": "bun run generate:schema-meta && bun run lint:fix && bun run test && bun run test:package",
"version": "bun run generate:schema-meta --release && git add -A",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.3.310",
"@biomejs/biome": "^2.5.15",
"@types/bun": "^1.4.4",
"lefthook": "^2.2.2"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"ajv": "^8.20.0",
"chokidar": "^5.0.0",
"commander": "^15.0.0",
"fast-glob": "^3.3.3",
"gray-matter": "^4.0.3",
"js-yaml": "^5.4.3",
"json-schema-to-ts": "^3.1.1",
"json5": "^2.2.3",
"jsonata": "^2.2.1",
"mdast-util-to-string": "^4.0.0",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.1.0"
}
}