js-libp2p-noise/package.json

86 lines
2.8 KiB
JSON
Raw Normal View History

2019-10-30 15:02:03 +01:00
{
2020-02-07 13:52:32 +01:00
"name": "libp2p-noise",
2020-06-15 14:46:59 +02:00
"version": "1.1.2",
2019-11-04 22:09:42 +01:00
"main": "dist/index.js",
2020-02-07 14:38:40 +01:00
"types": "dist/index.d.ts",
2020-02-07 11:12:14 +01:00
"module": "lib/index.js",
"files": [
"dist",
"lib",
"src"
],
2019-10-30 15:02:03 +01:00
"repository": "git@github.com:NodeFactoryIo/js-libp2p-noise.git",
"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-02-07 11:12:14 +01:00
"prebuild": "rm -rf lib && rm -rf dist",
2020-02-07 14:38:40 +01:00
"build": "yarn run build:node && yarn run build:web && yarn run build:types",
"bundle": "webpack --config webpack.bundle.config.js",
2020-02-17 09:11:47 +01:00
"build:node": "babel --no-babelrc --config-file ./babel.config.json src --copy-files -x .ts -d dist --source-maps",
"build:web": "babel --no-babelrc --config-file ./babel.web.config.json src --copy-files -x .ts -d lib --source-maps",
2020-02-07 14:38:40 +01:00
"build:types": "tsc --declaration --outDir dist --emitDeclarationOnly",
2020-02-17 09:11:47 +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",
2020-04-23 12:49:57 +02:00
"check-types": "tsc --noEmit",
2019-10-30 15:02:03 +01:00
"lint": "eslint --ext .ts src/",
"pretest": "yarn check-types",
2020-02-06 09:52:33 +01:00
"test": "yarn run test:node && yarn run test:web",
"test:node": "mocha -r ./babel-register.js \"test/**/*.test.ts\"",
"test:web": "karma start"
2019-10-30 15:02:03 +01:00
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-async-generator-functions": "^7.7.0",
2020-02-07 11:12:14 +01:00
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-export-default-from": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
2019-10-30 15:02:03 +01:00
"@babel/preset-env": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@babel/register": "^7.6.2",
"@babel/runtime": "^7.6.3",
2020-02-13 22:51:36 +01:00
"@types/bl": "^2.1.0",
2019-10-30 15:02:03 +01:00
"@types/chai": "^4.2.4",
"@types/mocha": "^5.2.7",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
2020-04-03 09:07:29 +02:00
"babel-loader": "^8.1.0",
2019-10-30 15:02:03 +01:00
"chai": "^4.2.0",
"eslint": "^6.6.0",
2020-02-06 09:52:33 +01:00
"karma": "^4.4.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-mocha": "^1.3.0",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^4.0.2",
2019-10-30 15:02:03 +01:00
"mocha": "^6.2.2",
2020-01-16 17:49:41 +01:00
"sinon": "^8.1.0",
2020-02-06 09:52:33 +01:00
"ts-loader": "^6.2.1",
"typescript": "^3.6.4",
2020-04-03 09:07:29 +02:00
"webpack": "^4.41.5",
2020-04-03 09:32:19 +02:00
"webpack-bundle-analyzer": "^3.6.1",
2020-04-03 09:07:29 +02:00
"webpack-cli": "^3.3.11"
2019-10-30 15:02:03 +01:00
},
2019-10-31 17:35:18 +01:00
"dependencies": {
"bcrypto": "5.1.0",
2019-10-31 17:35:18 +01:00
"buffer": "^5.4.3",
2019-12-02 10:48:19 +01:00
"debug": "^4.1.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",
2020-04-06 10:42:04 +02:00
"it-pb-rpc": "^0.1.8",
2019-11-25 13:27:55 +01:00
"it-pipe": "^1.1.0",
2020-04-23 12:56:09 +02:00
"libp2p-crypto": "^0.17.6",
2019-12-02 12:53:00 +01:00
"peer-id": "^0.13.5",
"protobufjs": "6.8.8"
2020-04-23 12:56:09 +02:00
},
"resolutions": {
"bn.js": "4.4.0"
2019-10-30 15:02:03 +01:00
}
}