pzp-hub-client/package.json

66 lines
1.7 KiB
JSON

{
"name": "ppppp-hub-client",
"version": "0.0.1",
"description": "secret-stack plugin to connect to a ppppp-hub",
"author": "Andre Staltz <contact@staltz.com>",
"license": "MIT",
"homepage": "https://github.com/staltz/ppppp-hub-client",
"repository": {
"type": "git",
"url": "git@github.com:staltz/ppppp-hub-client.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": ">=16"
},
"dependencies": {
"@types/ip": "1.1.3",
"bs58": "^5.0.0",
"debug": "^4.3.4",
"ip": "1.1.8",
"promisify-tuple": "~1.2.0",
"pull-notify": "~0.1.2",
"pull-pair": "~1.1.0",
"pull-stream": "~3.7.0",
"ssb-network-errors": "~1.0.1"
},
"devDependencies": {
"@types/debug": "^4.1.8",
"@types/node": "16.x",
"@types/pull-stream": "^3.6.2",
"c8": "7",
"husky": "^4.3.0",
"ppppp-net": "github:staltz/ppppp-net",
"ppppp-set": "github:staltz/ppppp-set",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"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"
}
}
}