-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 6.55 KB
/
Copy pathpackage.json
File metadata and controls
158 lines (158 loc) · 6.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "@quality-harness/code-to-gate",
"version": "1.5.1",
"description": "A local-first quality harness that turns repository signals into evidence-backed quality risks, test seeds, and release-readiness gate inputs",
"type": "module",
"packageManager": "npm@10.9.8",
"bin": {
"code-to-gate": "dist/cli.js"
},
"main": "./dist/cli.js",
"exports": {
".": "./dist/cli.js",
"./rule-sdk": {
"types": "./dist/rule-sdk/index.d.ts",
"import": "./dist/rule-sdk/index.js"
}
},
"types": "./dist/cli.d.ts",
"files": [
"dist/cli/",
"dist/cli.js",
"dist/cli.d.ts",
"dist/agent/",
"dist/core/",
"dist/adapters/",
"dist/application/",
"dist/reporters/",
"dist/rules/",
"dist/suppression/",
"dist/config/",
"dist/types/",
"dist/cache/",
"dist/parallel/",
"dist/evaluation/",
"dist/llm/",
"dist/github/",
"dist/evidence/",
"dist/viewer/",
"dist/historical/",
"dist/plugin/",
"dist/rule-sdk/",
"dist/quality-packs/",
"dist/self-analysis/",
"dist/spec-drift/",
"dist/doctor/",
"dist/test-plan/",
"dist/ownership/",
"dist/pr-review/",
"dist/release-pack/",
"dist/qeg/",
"dist/redaction/",
"dist/utils/",
"!dist/**/__tests__/**",
"!dist/**/*.test.*",
"schemas/",
"LICENSE",
"README.md",
"README_EN.md",
"README_JA.md",
"CHANGELOG.md"
],
"scripts": {
"build": "tsc",
"typecheck": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"ctg": "node ./dist/cli.js",
"test": "npm run test:normal && npm run test:tree-sitter",
"test:normal": "vitest run --reporter=dot",
"test:tree-sitter": "vitest run --config vitest.tree-sitter.config.ts --reporter=dot",
"test:ci": "vitest run --maxWorkers=2 --reporter=dot",
"test:ci:stable": "vitest run --maxWorkers=1 --reporter=dot",
"test:watch": "vitest",
"test:coverage": "vitest run --config vitest.coverage.config.ts --coverage",
"test:smoke": "vitest run src/__tests__/smoke --reporter verbose",
"test:architecture": "vitest run src/__tests__/architecture/dependency-boundary.test.ts --maxWorkers=1 --reporter=dot",
"test:package": "node scripts/package-smoke.mjs",
"test:determinism": "npm run build && node scripts/agent-determinism.mjs",
"test:real-repo": "vitest run --config vitest.heavy.config.ts src/__tests__/real-repos --reporter verbose",
"test:performance": "vitest run --config vitest.heavy.config.ts src/__tests__/performance --reporter verbose",
"docs:stale": "node scripts/check-doc-review-due.mjs docs",
"docs:roadmap-drift": "node scripts/check-roadmap-completion-drift.mjs",
"docs:distribution": "node scripts/check-distribution-status.mjs",
"docs:lint-refs": "node scripts/lint-doc-references.mjs",
"quality:spec-drift": "npm run build && npm run ctg -- spec-drift . --out .qh-spec-drift && npm run ctg -- schema validate .qh-spec-drift/spec-drift.json",
"quality:qeos-matrix": "npm run build && npm run ctg -- qeos matrix --from . --out .qh && npm run ctg -- schema validate .qh/qeos-acceptance-matrix.json",
"package:integrity": "node scripts/package-integrity.mjs",
"acceptance:harness": "node scripts/acceptance-harness.mjs",
"real-repo-test": "node ./dist/cli.js analyze ./fixtures/demo-ci-imports --out ./fixtures/demo-ci-imports/.qh",
"fp-eval": "node ./dist/cli.js analyze ./fixtures/demo-shop-ts --out ./fixtures/demo-shop-ts/.qh --emit all",
"release:prepare": "npm run build && npm run ctg -- analyze . --policy .ctg/policy.yaml --emit all --out .qh",
"release:immutable": "node scripts/release-immutable-check.mjs",
"release:manifest": "node scripts/release-manifest.mjs",
"release:validate": "npm run release:immutable && npm run build && npm run lint && npm run typecheck && npm run ctg -- spec-drift . --out .qh-release && npm run test:smoke && npm run test:architecture && npm run test:package && npm audit --audit-level=high && npm run ctg -- analyze . --policy .ctg/policy.yaml --emit all --out .qh-release && npm run ctg -- readiness . --policy .ctg/policy.yaml --from .qh-release --out .qh-release && npm run ctg -- schema validate-all .qh-release --strict",
"release:public": "npm run release:immutable && npm run lint && npm run typecheck && npm run test:smoke && npm run test:package",
"release:public:quality": "npm run lint && npm run typecheck && npm run test:smoke && npm run test:ci:stable && npm run test:coverage && npm run release:validate",
"audit:deps": "npm audit --audit-level=high",
"security:toolchain:verify": "node scripts/verify-security-toolchain.mjs",
"security:golden:prepare": "node scripts/security-golden.mjs prepare .qh/security/golden",
"security:golden:verify": "node scripts/security-golden.mjs verify .qh/security/golden-semgrep.json .qh/security/golden-gitleaks.json",
"sbom:generate": "npm sbom --sbom-format cyclonedx --sbom-type application > sbom.json",
"evidence:pack": "node -e \"console.log('Evidence artifacts:\\n- .qh/release-readiness.json\\n- .qh/findings.json\\n- .qh/audit.json\\n- .qh/results.sarif\\n- coverage/coverage-summary.json\\n- sbom.json\\n- npm pack --dry-run output')\"",
"prepublishOnly": "npm run release:immutable && npm run build && npm run test:smoke && npm run test:package"
},
"keywords": [
"code-analysis",
"quality-gate",
"release-readiness",
"static-analysis",
"risk-analysis",
"test-generation",
"sarif",
"cli-tool"
],
"author": "R_N_A",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RNA4219/code-to-gate.git"
},
"bugs": {
"url": "https://github.com/RNA4219/code-to-gate/issues"
},
"homepage": "https://github.com/RNA4219/code-to-gate#readme",
"engines": {
"node": ">=20"
},
"dependencies": {
"acorn": "^8.14.1",
"acorn-walk": "^8.3.4",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"fs-extra": "^11.3.4",
"glob": "^13.0.6",
"js-yaml": "^4.3.0",
"ts-morph": "^25.0.1",
"web-tree-sitter": "^0.26.8"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/acorn": "^6.0.3",
"@types/glob": "^8.1.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.19.17",
"@vitest/coverage-v8": "^4.1.8",
"eslint": "^10.3.0",
"globals": "^17.6.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.59.1",
"vitest": "^4.1.8"
},
"optionalDependencies": {
"tree-sitter-go": "^0.25.0",
"tree-sitter-python": "^0.25.0",
"tree-sitter-ruby": "^0.23.1",
"tree-sitter-rust": "^0.24.0"
}
}