2019-10-30 15:02:03 +01:00
|
|
|
{
|
2020-02-07 13:52:32 +01:00
|
|
|
"name": "libp2p-noise",
|
2021-02-24 09:26:30 +01:00
|
|
|
"version": "2.0.5",
|
2020-06-18 22:24:59 +01:00
|
|
|
"main": "dist/src/index.js",
|
2020-06-23 10:12:58 +02:00
|
|
|
"types": "dist/src/index.d.ts",
|
2020-02-07 11:12:14 +01:00
|
|
|
"files": [
|
2020-06-19 12:49:10 +02:00
|
|
|
"dist",
|
|
|
|
"src"
|
2020-02-07 11:12:14 +01:00
|
|
|
],
|
2020-06-23 15:33:47 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/NodeFactoryIo/js-libp2p-noise.git"
|
|
|
|
},
|
2019-10-30 15:02:03 +01:00
|
|
|
"author": "NodeFactory <info@nodefactory.io>",
|
|
|
|
"license": "MIT",
|
2019-12-03 16:09:46 +01:00
|
|
|
"keywords": [
|
|
|
|
"libp2p",
|
|
|
|
"noise",
|
|
|
|
"crypto"
|
|
|
|
],
|
2019-10-30 15:02:03 +01:00
|
|
|
"scripts": {
|
2020-08-15 14:37:43 +02:00
|
|
|
"bench": "node benchmarks/benchmark.js",
|
2020-09-03 10:16:06 +02:00
|
|
|
"clean": "rm -rf dist",
|
2021-01-27 11:39:54 +01:00
|
|
|
"check": "aegir dep-check && aegir ts -p check",
|
2021-01-26 21:52:12 +00:00
|
|
|
"build": "aegir build",
|
|
|
|
"lint": "aegir lint",
|
|
|
|
"lint:fix": "aegir lint --fix",
|
2021-02-12 16:29:20 +00:00
|
|
|
"pretest": "yarn run check",
|
2021-01-27 11:39:54 +01:00
|
|
|
"test": "aegir test",
|
2021-01-26 21:52:12 +00:00
|
|
|
"test:node": "aegir test -t node",
|
|
|
|
"test:browser": "aegir test -t browser",
|
|
|
|
"docs": "aegir docs",
|
2020-06-18 22:23:39 +01:00
|
|
|
"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"
|
2019-10-30 15:02:03 +01:00
|
|
|
},
|
2021-02-12 16:29:20 +00:00
|
|
|
"browser": {
|
|
|
|
"util": false
|
2021-01-26 21:52:12 +00:00
|
|
|
},
|
2019-10-30 15:02:03 +01:00
|
|
|
"devDependencies": {
|
2020-02-13 22:51:36 +01:00
|
|
|
"@types/bl": "^2.1.0",
|
2021-02-23 17:01:31 +00:00
|
|
|
"aegir": "^31.0.0",
|
2020-08-15 14:37:43 +02:00
|
|
|
"benchmark": "^2.1.4",
|
2021-02-12 16:29:20 +00:00
|
|
|
"buffer": "^5.7.1",
|
2019-10-30 15:02:03 +01:00
|
|
|
"chai": "^4.2.0",
|
2021-02-12 16:29:20 +00:00
|
|
|
"events": "^3.2.0",
|
2020-08-15 14:37:43 +02:00
|
|
|
"microtime": "^3.0.0",
|
2021-01-25 11:30:58 +01:00
|
|
|
"mocha": "^8.2.1",
|
2021-02-18 16:53:32 +00:00
|
|
|
"sinon": "^9.2.4"
|
2019-10-30 15:02:03 +01:00
|
|
|
},
|
2019-10-31 17:35:18 +01:00
|
|
|
"dependencies": {
|
2021-02-12 16:29:20 +00:00
|
|
|
"bcrypto": "^5.4.0",
|
2021-01-25 11:30:58 +01:00
|
|
|
"debug": "^4.3.1",
|
2019-11-25 13:27:55 +01:00
|
|
|
"it-buffer": "^0.1.1",
|
|
|
|
"it-length-prefixed": "^3.0.0",
|
2019-11-12 14:02:59 +01:00
|
|
|
"it-pair": "^1.0.0",
|
2021-01-25 11:30:58 +01:00
|
|
|
"it-pb-rpc": "^0.1.9",
|
2019-11-25 13:27:55 +01:00
|
|
|
"it-pipe": "^1.1.0",
|
2021-04-09 17:03:41 +03:00
|
|
|
"libp2p-crypto": "fluencelabs/js-libp2p-crypto",
|
2021-01-26 09:28:16 +01:00
|
|
|
"peer-id": "^0.14.3",
|
2020-08-15 14:44:54 +02:00
|
|
|
"protobufjs": "^6.10.1",
|
2021-04-09 17:03:41 +03:00
|
|
|
"uint8arrays": "^2.1.4"
|
2020-04-23 12:56:09 +02:00
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
"bn.js": "4.4.0"
|
2020-06-18 22:23:39 +01:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2021-01-25 11:30:58 +01:00
|
|
|
"extends": "ipfs",
|
2020-06-19 13:06:31 +02:00
|
|
|
"rules": {
|
2021-01-26 21:52:12 +00:00
|
|
|
"@typescript-eslint/no-unused-vars": "error",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "warn",
|
|
|
|
"@typescript-eslint/strict-boolean-expressions": "off"
|
2020-06-19 13:06:31 +02:00
|
|
|
},
|
|
|
|
"ignorePatterns": [
|
2021-02-18 16:53:32 +00:00
|
|
|
"src/proto/payload.js",
|
|
|
|
"test/fixtures/node-globals.js"
|
2020-06-19 13:06:31 +02:00
|
|
|
]
|
2019-10-30 15:02:03 +01:00
|
|
|
}
|
|
|
|
}
|