pzp-net/package.json

80 lines
2.0 KiB
JSON

{
"name": "ppppp-net",
"version": "1.0.0",
"description": "PPPPP plugin to manage connections with hubs and peers",
"author": "Andre Staltz <contact@staltz.com>",
"license": "MIT",
"homepage": "https://github.com/staltz/ppppp-net",
"repository": {
"type": "git",
"url": "git@github.com:staltz/ppppp-net.git"
},
"main": "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",
"multiserver": "3",
"on-change-network-strict": "1.0.0",
"on-wakeup": "^1.0.1",
"promisify-tuple": "^1.0.1",
"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",
"ziii": "~1.0.2"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/ip": "^1.1.3",
"@types/node": "18",
"bs58": "^5.0.0",
"c8": "7",
"ppppp-caps": "file:../caps",
"ppppp-db": "file:../db",
"ppppp-dict": "file:../dict",
"ppppp-keypair": "file:../keypair",
"ppppp-set": "file:../set",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^4.4.0",
"secret-handshake-ext": "0.0.11",
"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"
}
}
}