@oxog/port-finder
Version:
Zero-dependency port finder for Node.js applications with plugin support
72 lines • 1.93 kB
JSON
{
"name": "@oxog/port-finder",
"version": "1.0.0",
"description": "Zero-dependency port finder for Node.js applications with plugin support",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"bin": {
"port-finder": "./dist/cjs/cli.js"
},
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"clean": "rimraf dist",
"test": "jest --coverage",
"test:watch": "jest --watch",
"lint": "eslint src tests --ext .ts",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build && npm test",
"example": "node examples/basic.js"
},
"keywords": [
"port",
"port-finder",
"available-port",
"network",
"tcp",
"socket",
"cli",
"zero-dependency"
],
"author": "Ersin KOC",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"repository": {
"type": "git",
"url": "https://github.com/ersinkoc/PortFinder.git"
},
"bugs": {
"url": "https://github.com/ersinkoc/PortFinder/issues"
},
"homepage": "https://github.com/ersinkoc/PortFinder#readme",
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.57.0",
"jest": "^29.5.0",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.0",
"typescript": "^5.0.0"
}
}