-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.69 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.69 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": "ports-cli",
"version": "1.0.2",
"description": "Interactive TUI for viewing and killing listening TCP ports",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/patebry/ports-cli.git"
},
"author": "patebry",
"license": "MIT",
"bugs": {
"url": "https://github.com/patebry/ports-cli/issues"
},
"homepage": "https://github.com/patebry/ports-cli#readme",
"os": [
"darwin",
"linux"
],
"bin": {
"ports": "./dist/ports.js",
"ports-cli": "./dist/ports.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "esbuild bin/ports.tsx --bundle --platform=node --target=node18 --format=esm --jsx=automatic --loader:.ts=ts --loader:.tsx=tsx --loader:.js=jsx --loader:.jsx=jsx --outfile=dist/ports.js --banner:js='#!/usr/bin/env node' --external:react --external:ink && chmod +x dist/ports.js",
"typecheck": "tsc --noEmit",
"lint": "eslint src/ bin/",
"prepublishOnly": "npm run build",
"test": "vitest run",
"coverage": "vitest run --coverage"
},
"engines": {
"node": ">=18"
},
"keywords": [
"ports",
"lsof",
"cli",
"tui",
"network",
"kill",
"process",
"tcp",
"macos",
"linux",
"terminal",
"interactive",
"ink"
],
"dependencies": {
"ink": "^4",
"react": "^18"
},
"devDependencies": {
"@types/node": "^25.3.0",
"@types/react": "^19.2.14",
"@vitest/coverage-v8": "^4.0.18",
"esbuild": "^0.27.3",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^7.0.1",
"ink-testing-library": "^4.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.0",
"vitest": "^4.0.18"
}
}