-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.96 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.96 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
{
"name": "github-settings-as-code",
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"description": "GitHub Action applying declarative repository settings: rulesets, labels, branch protection, and more.",
"type": "module",
"scripts": {
"check": "bun run lint && bun run lint:yaml && bun run typecheck && bun run knip && bun run test && bun run build:check",
"lint": "bun x biome ci --error-on-warnings .",
"lint:yaml": "if command -v yamllint >/dev/null 2>&1; then git ls-files -z '*.yml' '*.yaml' | xargs -0 yamllint -s; else echo 'lint:yaml: yamllint not installed, skipping (CI enforces it; install with pip install yamllint or brew install yamllint)'; fi",
"lint:fix": "bun x biome check --write .",
"typecheck": "bun x tsc -p .",
"knip": "knip",
"test": "bun test",
"test:e2e": "bun test/e2e/run.ts",
"fuzz": "bun test/e2e/fuzz.ts",
"build": "bun run build:bundle && bun run build:schema",
"build:bundle": "bun build src/main.ts --target=node --outfile lib/index.js",
"build:schema": "bun .github/scripts/gen-settings-schema.ts",
"build:check": "bun run build:schema && git diff --exit-code lib/settings.schema.json && ! git ls-files --others --exclude-standard lib/settings.schema.json | grep .",
"prepare": "lefthook install"
},
"dependencies": {
"@actions/artifact": "^6.2.1",
"@actions/core": "^3.0.1",
"@octokit/plugin-retry": "^8.1.0",
"@octokit/plugin-throttling": "^11.0.3",
"@octokit/rest": "^22.0.1",
"age-encryption": "^0.3.0",
"bottleneck": "^2.19.5",
"libsodium-wrappers": "^0.8.4",
"yaml": "^2.8.2",
"zod": "^4.4.3"
},
"devDependencies": {
"@biomejs/biome": "^2.5.7",
"@octokit/openapi-types": "^28.0.0",
"@octokit/types": "^17.0.0",
"@types/bun": "^1.3.14",
"@types/node": "^26.1.2",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"graphql": "^17.0.2",
"knip": "^6.32.2",
"lefthook": "^2.1.10",
"typescript": "^7.0.2"
}
}