-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 4.13 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 4.13 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
{
"name": "@a5c-ai/a5c",
"version": "1.26.2",
"description": "a5c SDK and CLI for normalizing and enriching repo/CI events for agentic workflows",
"type": "module",
"private": false,
"bin": {
"a5c": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"engines": {
"node": ">=20"
},
"scripts": {
"pretest": "npm run build",
"prepare": "husky && npm run build",
"clean": "rimraf dist .turbo .vitest coverage",
"build": "tsc -p tsconfig.build.json && node scripts/build-post.js",
"build:clean": "rimraf dist && npm run build",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" \"tests/**/*.ts\"",
"format": "prettier -w .",
"typecheck": "tsc --noEmit -p tsconfig.build.json",
"test": "vitest run",
"validate:obs": "node scripts/validate-obs.cjs",
"test:ci": "vitest run --coverage",
"flaky:detect": "node scripts/flaky-detector.cjs",
"dev": "tsx watch src/cli.ts -- --help",
"cli": "node dist/cli.js",
"prepush:changed": "node scripts/prepush-related.js",
"prepush:full": "npx --yes vitest run",
"prepush": "node scripts/prepush-related.js || npx --yes vitest run",
"release": "semantic-release",
"lint:filenames": "node scripts/lint-filenames.cjs",
"validate:obs:file": "ajv compile -s docs/specs/observability.schema.json --spec=draft2020 -c ajv-formats",
"validate:examples": "npm run -s build && node dist/cli.js normalize --in samples/workflow_run.completed.json --out /tmp/out.ne.json && (npx -y ajv-cli@5.0.0 validate -s docs/specs/ne.schema.json -d /tmp/out.ne.json --spec=draft2020 -c ajv-formats || node dist/cli.js validate --in /tmp/out.ne.json --schema docs/specs/ne.schema.json --quiet)",
"commit:prepare": "npx --yes husky && echo 'husky installed'",
"smoke": "node dist/cli.js normalize --in samples/pull_request.synchronize.json --out out.ne.json && node dist/cli.js enrich --in out.ne.json --out out.enriched.json && node dist/cli.js validate --in out.enriched.json --schema docs/specs/ne.schema.json --quiet",
"reactor:sample": "npm run -s build && node dist/cli.js reactor --in samples/pull_request.synchronize.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"predefined.yaml"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/a5c-ai/a5c.git"
},
"homepage": "https://github.com/a5c-ai/a5c",
"bugs": {
"url": "https://github.com/a5c-ai/a5c/issues"
},
"keywords": [
"a5c",
"cli",
"sdk",
"github",
"normalization",
"enrich"
],
"author": "a5c.ai",
"license": "Apache-2.0",
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/js": "9.36.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.6",
"@semantic-release/npm": "^12.0.1",
"@types/node": "^22.7.4",
"@types/yaml": "1.9.7",
"@typescript-eslint/eslint-plugin": "8.44.0",
"@typescript-eslint/parser": "8.44.0",
"@vitest/coverage-v8": "^3.2.4",
"ajv": "^8.17.1",
"ajv-cli": "^5.0.0",
"ajv-formats": "3.0.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "^2.29.1",
"globals": "16.4.0",
"husky": "^9.1.6",
"lint-staged": "^16.1.6",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.0",
"tsx": "^4.19.1",
"typescript": "^5.9.2",
"typescript-eslint": "8.44.0",
"vitest": "^3.2.4",
"yaml": "2.8.1"
},
"dependencies": {
"@actions/artifact": "^2.3.2",
"@octokit/rest": "^21.0.0",
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"minimatch": "^9.0.5",
"yaml": "^2.8.1",
"zod": "^3.23.8"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier -w"
],
"{test,tests}/**/*.{ts,tsx,js}": [
"eslint --fix --max-warnings=0",
"prettier -w"
],
"**/*.{md,json,yml,yaml}": [
"prettier -w"
]
}
}