js-libp2p-noise/package.json
2021-01-27 11:57:28 +01:00

84 lines
2.1 KiB
JSON

{
"name": "libp2p-noise",
"version": "2.0.4",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/NodeFactoryIo/js-libp2p-noise.git"
},
"author": "NodeFactory <info@nodefactory.io>",
"license": "MIT",
"keywords": [
"libp2p",
"noise",
"crypto"
],
"scripts": {
"bench": "node benchmarks/benchmark.js",
"clean": "rm -rf dist",
"check": "aegir dep-check && aegir ts -p check",
"copy-dts": "copyup \"src/**/*.d.ts\" dist/src",
"build": "aegir build",
"postbuild": "yarn run copy-dts",
"lint": "aegir lint",
"lint:fix": "aegir lint --fix",
"pretest": "yarm run check",
"test": "aegir test",
"test:node": "aegir test -t node",
"test:browser": "aegir test -t browser",
"docs": "aegir docs",
"proto:gen": "pbjs -t static-module -o ./src/proto/payload.js ./src/proto/payload.proto && pbts -o ./src/proto/payload.d.ts ./src/proto/payload.js && yarn run lint --fix"
},
"aegir" :{
"node": true,
"tsRepo": true,
"docs": {
"entryPoint": "src/index.ts"
}
},
"devDependencies": {
"@types/bl": "^2.1.0",
"aegir": "ipfs/aegir#feat/ts-repo-support",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"copyfiles": "^2.4.1",
"karma-mocha-webworker": "^1.3.0",
"microtime": "^3.0.0",
"mocha": "^8.2.1",
"sinon": "^9.2.4"
},
"dependencies": {
"bcrypto": "^5.3.0",
"buffer": "^5.4.3",
"debug": "^4.3.1",
"it-buffer": "^0.1.1",
"it-length-prefixed": "^3.0.0",
"it-pair": "^1.0.0",
"it-pb-rpc": "^0.1.9",
"it-pipe": "^1.1.0",
"libp2p-crypto": "^0.19.0",
"peer-id": "^0.14.3",
"protobufjs": "^6.10.1",
"uint8arrays": "^2.0.5"
},
"resolutions": {
"bn.js": "4.4.0"
},
"eslintConfig": {
"extends": "ipfs",
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-function-return-type": "warn",
"@typescript-eslint/strict-boolean-expressions": "off"
},
"ignorePatterns": [
"src/proto/payload.js"
]
}
}