UNPKG

proxy-protocol-js

Version:

A PROXY protocol builder and parser for JavaScript

62 lines (61 loc) 1.74 kB
{ "name": "proxy-protocol-js", "version": "4.0.6", "description": "A PROXY protocol builder and parser for JavaScript", "main": "lib/proxy-protocol.js", "types": "lib/proxy-protocol.d.ts", "directories": { "lib": "lib", "example": "example" }, "scripts": { "clean": "rm -rf lib/*", "build": "tsc", "lint": "eslint . --ext .ts", "fix-lint": "npm run lint -- --fix", "prettier": "find src -name \"*.ts\" | xargs prettier --config .prettierrc", "fmt": "npm run prettier -- --write", "check-illegal-fmt": "npm run prettier -- --list-different", "fix": "npm run fmt && npm run fix-lint", "test": "jest --maxWorkers=10", "check": "npm run lint && npm run check-illegal-fmt && npm run test", "release": "npm run check && npm run build && npm publish" }, "files": [ "lib", "!lib/.gitkeep", "example", "!example/.gitignore" ], "keywords": [ "PROXY-protocol" ], "homepage": "https://github.com/moznion/proxy-protocol-js", "repository": { "type": "git", "url": "https://github.com/moznion/proxy-protocol-js" }, "bugs": { "url": "https://github.com/moznion/proxy-protocol-js/issues" }, "author": { "name": "moznion", "email": "moznion@gmail.com" }, "license": "MIT", "devDependencies": { "@types/jest": "^27.4.0", "@types/node": "^17.0.8", "@typescript-eslint/eslint-plugin": "^5.9.1", "@typescript-eslint/parser": "^5.9.1", "codecov": "^3.3.0", "eslint": "^8.6.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-prefer-arrow": "^1.2.3", "jest": "^27.4.7", "node-notifier": ">=8.0.1", "prettier": "^2.5.1", "ts-jest": "^27.1.2", "typescript": "^4.5.4" } }