-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.42 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.42 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
{
"name": "opencode-dcg-plugin",
"version": "0.3.1",
"description": "OpenCode plugin that blocks destructive shell commands using destructive_command_guard (dcg)",
"type": "module",
"main": "dist/opencode-dcg-plugin.js",
"types": "dist/opencode-dcg-plugin.d.ts",
"exports": {
".": {
"types": "./dist/opencode-dcg-plugin.d.ts",
"import": "./dist/opencode-dcg-plugin.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "bun run clean && tsc --emitDeclarationOnly --outDir dist && mv dist/index.d.ts dist/opencode-dcg-plugin.d.ts && bun build src/index.ts --outdir=dist --entry-naming=opencode-dcg-plugin.js --target=node --format=esm --sourcemap=linked && rm dist/review.d.ts",
"typecheck": "tsc --noEmit",
"test": "bun test",
"clean": "rm -rf dist"
},
"keywords": [
"opencode",
"dcg",
"destructive-command-guard",
"safety",
"plugin",
"ai-coding",
"security",
"guard",
"shell"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Bouska/opencode-dcg-plugin.git"
},
"bugs": "https://github.com/Bouska/opencode-dcg-plugin/issues",
"homepage": "https://github.com/Bouska/opencode-dcg-plugin#readme",
"engines": {
"opencode": ">=1.17.0",
"node": ">=18"
},
"devDependencies": {
"@types/node": "^22.0.0",
"bun-types": "^1.3.0",
"typescript": "^5.7.0"
}
}