-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.33 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.33 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
{
"name": "cc-safety-net",
"version": "0.9.0",
"description": "Claude Code / OpenCode plugin - block destructive git and filesystem commands before execution",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"bin": {
"cc-safety-net": "dist/bin/cc-safety-net.js"
},
"files": [
"dist"
],
"scripts": {
"build": "bun run clean && bun run scripts/build.ts",
"build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly --declaration",
"build:schema": "bun run scripts/build-schema.ts",
"clean": "rm -rf dist",
"check": "bun run lint && bun run typecheck && bun run knip && bun run check-duplicates && bun run sg:scan && AGENT=1 bun test --coverage",
"check:ci": "bun run lint:ci && bun run typecheck && bun run knip && bun run check-duplicates && bun run sg:scan && AGENT=1 bun test --coverage --coverage-reporter=lcov",
"lint": "biome check --write",
"lint:ci": "biome ci .",
"typecheck": "tsc --noEmit",
"knip": "knip --production",
"check-duplicates": "bunx jscpd src tests --exitCode 1 --reporters ai",
"sg:scan": "ast-grep scan",
"test": "bun test",
"publish:dry-run": "bun run scripts/publish.ts --dry-run",
"cc-safety-net": "bun run src/bin/cc-safety-net.ts",
"prepare": "husky && bun run setup-hooks",
"setup-hooks": "chmod +x .husky/pre-commit .husky/pre-push"
},
"author": {
"name": "J Liew",
"email": "jliew@420024lab.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kenryu42/claude-code-safety-net.git"
},
"bugs": {
"url": "https://github.com/kenryu42/claude-code-safety-net/issues"
},
"homepage": "https://github.com/kenryu42/claude-code-safety-net#readme",
"devDependencies": {
"@ast-grep/cli": "^0.40.4",
"@biomejs/biome": "2.3.10",
"@opencode-ai/plugin": "^1.0.224",
"@types/bun": "latest",
"@types/shell-quote": "^1.7.5",
"husky": "^9.1.7",
"jscpd": "^4.0.9",
"knip": "^5.79.0",
"lint-staged": "^16.2.7",
"zod": "^4.3.5"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"shell-quote": "^1.8.3"
},
"trustedDependencies": [
"@ast-grep/cli"
],
"engines": {
"node": ">=18"
},
"keywords": [
"claude-code",
"opencode",
"safety",
"plugin",
"security"
]
}