mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-24 23:32:30 +00:00
75 lines
1.9 KiB
JSON
75 lines
1.9 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",
|
|
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/src",
|
|
"build": "aegir build --ts",
|
|
"postbuild": "yarn run copy-dts",
|
|
"lint": "aegir lint --ts",
|
|
"lint:fix": "aegir lint --ts --fix",
|
|
"test": "aegir test --ts --node true",
|
|
"test:node": "aegir test -t node --ts",
|
|
"test:browser": "aegir test -t browser --node true --ts",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bl": "^2.1.0",
|
|
"@types/chai": "^4.2.4",
|
|
"@types/mocha": "^5.2.7",
|
|
"aegir": "28.2.0",
|
|
"benchmark": "^2.1.4",
|
|
"chai": "^4.2.0",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint-config-ipfs": "^0.1.0",
|
|
"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"
|
|
},
|
|
"ignorePatterns": [
|
|
"src/proto/payload.js"
|
|
]
|
|
}
|
|
}
|