Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.62 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 1.62 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
{
"name": "shell-command-guard",
"type": "module",
"version": "0.1.0",
"packageManager": "pnpm@10.23.0",
"description": "Tell whether a shell command really runs a program — a fail-closed deny-list that sees through quotes, here-documents, $(…), bash -c, env, sudo and xargs",
"author": "Maksym Synenko",
"license": "MIT",
"homepage": "https://github.com/devmaxxx/shell-command-guard#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/devmaxxx/shell-command-guard.git"
},
"bugs": {
"url": "https://github.com/devmaxxx/shell-command-guard/issues"
},
"keywords": [
"shell",
"bash",
"zsh",
"command",
"command-parser",
"security",
"deny-list",
"denylist",
"guard",
"heredoc",
"ai-agent",
"claude-code",
"pre-tool-use",
"hook",
"parser"
],
"sideEffects": false,
"exports": {
".": "./dist/index.mjs",
"./package.json": "./package.json"
},
"types": "./dist/index.d.mts",
"files": [
"CHANGELOG.md",
"dist"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc",
"demo": "unrun scripts/demo.ts",
"test": "vitest run",
"prepublishOnly": "pnpm build"
},
"devDependencies": {
"@antfu/eslint-config": "9.5.1",
"@types/node": "22.20.5",
"eslint": "10.13.0",
"publint": "0.3.25",
"tsdown": "0.23.1",
"typescript": "6.0.3",
"unrun": "0.3.1",
"vitest": "5.0.5"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}