Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.89 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 1.89 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
{
"name": "@meffmadd/bash-deny",
"version": "0.1.0",
"description": "Gitignore-like shell command blocklist for CI, pre-commit hooks, and interactive use.",
"repository": {
"type": "git",
"url": "git+https://github.com/meffmadd/bash-deny.git"
},
"homepage": "https://github.com/meffmadd/bash-deny#readme",
"bugs": {
"url": "https://github.com/meffmadd/bash-deny/issues"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"bin": {
"bash-deny": "./dist/bash-deny.js"
},
"files": [
"dist/bash-deny.js",
"README.md"
],
"engines": {
"node": ">=20"
},
"license": "MIT",
"scripts": {
"lint": "eslint bash-deny tests scripts",
"typecheck": "tsc --noEmit",
"pretest": "npm run typecheck && npm run lint",
"test": "node --import tsx --test tests/*.test.ts tests/scenarios/*.test.ts tests/cli/*.test.ts tests/parser/*.test.ts",
"check": "npm test",
"bench": "node --import tsx scripts/bench.ts",
"clean": "node --input-type=module -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\"",
"build": "esbuild bash-deny/cli.ts --bundle --platform=node --format=esm --banner:js='#!/usr/bin/env node' --outfile=dist/bash-deny.js && node --input-type=module -e \"import { chmodSync } from 'node:fs'; chmodSync('dist/bash-deny.js', 0o755)\"",
"prepack": "npm run clean && npm run build",
"release:bump": "bumpp --commit \"chore: release {tag}\" --tag \"v{version}\" --push --git-check --execute \"npm run check\""
},
"keywords": [
"shell",
"guard",
"security",
"bash",
"cli"
],
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^25.9.5",
"bumpp": "^12.2.1",
"esbuild": "^0.28.1",
"eslint": "^10.4.1",
"eslint-plugin-functional": "^10.0.0",
"tsx": "^4.0.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.0"
}
}