js-libp2p-noise/package.json
2021-04-09 17:03:41 +03:00

78 lines
2.0 KiB
JSON

{
"name": "libp2p-noise",
"version": "2.0.5",
"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",
"build": "aegir build",
"lint": "aegir lint",
"lint:fix": "aegir lint --fix",
"pretest": "yarn 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"
},
"browser": {
"util": false
},
"devDependencies": {
"@types/bl": "^2.1.0",
"aegir": "^31.0.0",
"benchmark": "^2.1.4",
"buffer": "^5.7.1",
"chai": "^4.2.0",
"events": "^3.2.0",
"microtime": "^3.0.0",
"mocha": "^8.2.1",
"sinon": "^9.2.4"
},
"dependencies": {
"bcrypto": "^5.4.0",
"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": "fluencelabs/js-libp2p-crypto",
"peer-id": "^0.14.3",
"protobufjs": "^6.10.1",
"uint8arrays": "^2.1.4"
},
"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",
"test/fixtures/node-globals.js"
]
}
}