UNPKG

portfree

Version:

A cross-platform CLI tool for managing processes running on specific ports

79 lines (78 loc) 2.05 kB
{ "name": "portfree", "version": "1.0.0", "description": "A cross-platform CLI tool for managing processes running on specific ports", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "pf": "./bin/pf" }, "scripts": { "start": "node dist/index.js", "dev": "ts-node src/index.ts", "build": "tsc && npm run build:bin", "build:bin": "mkdir -p bin && echo '#!/usr/bin/env node\n\n// Global CLI entry point\nrequire(\"../dist/index.js\");' > bin/pf && chmod +x bin/pf", "clean": "rm -rf dist bin", "build:watch": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/ --ext .ts", "lint:fix": "eslint src/ --ext .ts --fix", "format": "prettier --write src/**/*.ts", "format:check": "prettier --check src/**/*.ts", "prebuild": "npm run clean && npm run lint", "prepublishOnly": "npm run build && npm run test" }, "keywords": [ "cli", "port", "process", "kill", "cross-platform", "developer-tools", "port-management", "process-killer", "unix", "windows", "macos", "linux", "terminal", "command-line" ], "author": "Your Name <your.email@example.com>", "license": "MIT", "engines": { "node": ">=14.0.0" }, "dependencies": { "commander": "^11.0.0", "inquirer": "^8.2.6" }, "devDependencies": { "@types/inquirer": "^9.0.0", "@types/jest": "^29.0.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.0.0", "jest": "^29.0.0", "prettier": "^3.0.0", "ts-jest": "^29.0.0", "ts-node": "^10.0.0", "typescript": "^5.0.0" }, "files": [ "dist/", "bin/", "README.md" ], "repository": { "type": "git", "url": "https://github.com/syrys/portfree.git" }, "bugs": { "url": "https://github.com/syrys/portfree/issues" }, "homepage": "https://github.com/syrys/portfree#readme" }