pzp-net/package.json

79 lines
2.0 KiB
JSON

{
"name": "pzp-net",
"version": "1.0.1",
"description": "PZP plugin to manage connections with hubs and peers",
"author": "Andre Staltz <contact@staltz.com>",
"license": "MIT",
"homepage": "https://codeberg.org/pzp/pzp-net",
"repository": {
"type": "git",
"url": "git@codeberg.org:pzp/pzp-net.git"
},
"main": "lib/index.js",
"files": [
"*.js",
"lib/*.js",
"lib/*.d.ts"
],
"types": "types/index.d.ts",
"exports": {
".": {
"require": "./lib/index.js"
}
},
"type": "commonjs",
"engines": {
"node": ">=18"
},
"dependencies": {
"@types/pull-stream": "^3.6.7",
"atomic-file-rw": "^0.3.0",
"debug": "^4.3.2",
"has-network2": ">=0.0.3",
"ip": "^1.1.5",
"obz": "~1.1.0",
"on-change-network-strict": "1.0.0",
"on-wakeup": "^1.0.1",
"promisify-tuple": "^1.0.1",
"pull-awaitable": "1.0.0",
"pull-cat": "~1.1.11",
"pull-notify": "^0.1.2",
"pull-pause": "~0.0.2",
"pull-ping": "^2.0.3",
"pull-stream": "^3.6.14",
"statistics": "^3.3.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/ip": "^1.1.3",
"@types/node": "18",
"bs58": "^5.0.0",
"c8": "7",
"pzp-caps": "^1.0.0",
"pzp-db": "^1.0.1",
"pzp-keypair": "^1.0.0",
"pzp-set": "^1.0.0",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^4.4.0",
"secret-handshake-ext": "0.0.12",
"secret-stack": "~8.1.0",
"ssb-box": "^1.0.1",
"typescript": "^5.1.3"
},
"scripts": {
"clean-check": "tsc --build --clean",
"prepublishOnly": "npm run clean-check && tsc --build",
"postpublish": "npm run clean-check",
"test": "npm run clean-check && node --test",
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
"coverage": "c8 --reporter=lcov npm run test"
},
"husky": {
"hooks": {
"pre-commit": "npm run format-code-staged"
}
}
}