mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-11 15:41:40 +00:00
Update package.json with keywords
This commit is contained in:
39
package.json
39
package.json
@ -5,6 +5,11 @@
|
|||||||
"repository": "git@github.com:NodeFactoryIo/js-libp2p-noise.git",
|
"repository": "git@github.com:NodeFactoryIo/js-libp2p-noise.git",
|
||||||
"author": "NodeFactory <info@nodefactory.io>",
|
"author": "NodeFactory <info@nodefactory.io>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"keywords": [
|
||||||
|
"libp2p",
|
||||||
|
"noise",
|
||||||
|
"crypto"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rm -rf lib",
|
"prebuild": "rm -rf lib",
|
||||||
"build": "babel src -x .ts -d lib --source-maps",
|
"build": "babel src -x .ts -d lib --source-maps",
|
||||||
@ -13,6 +18,23 @@
|
|||||||
"pretest": "yarn check-types",
|
"pretest": "yarn check-types",
|
||||||
"test": "DEBUG=libp2p:noise mocha -r ./babel-register.js \"test/**/*.test.ts\""
|
"test": "DEBUG=libp2p:noise mocha -r ./babel-register.js \"test/**/*.test.ts\""
|
||||||
},
|
},
|
||||||
|
"babel": {
|
||||||
|
"presets": [
|
||||||
|
[
|
||||||
|
"@babel/preset-env",
|
||||||
|
{
|
||||||
|
"targets": {
|
||||||
|
"node": "12"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@babel/preset-typescript"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
|
"@babel/plugin-proposal-object-rest-spread",
|
||||||
|
"@babel/plugin-proposal-async-generator-functions"
|
||||||
|
]
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.6.4",
|
"@babel/cli": "^7.6.4",
|
||||||
"@babel/core": "^7.6.4",
|
"@babel/core": "^7.6.4",
|
||||||
@ -32,23 +54,6 @@
|
|||||||
"mocha": "^6.2.2",
|
"mocha": "^6.2.2",
|
||||||
"typescript": "^3.6.4"
|
"typescript": "^3.6.4"
|
||||||
},
|
},
|
||||||
"babel": {
|
|
||||||
"presets": [
|
|
||||||
[
|
|
||||||
"@babel/preset-env",
|
|
||||||
{
|
|
||||||
"targets": {
|
|
||||||
"node": "12"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@babel/preset-typescript"
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"@babel/plugin-proposal-object-rest-spread",
|
|
||||||
"@babel/plugin-proposal-async-generator-functions"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypto": "^4.2.3",
|
"bcrypto": "^4.2.3",
|
||||||
"bn.js": "^5.0.0",
|
"bn.js": "^5.0.0",
|
||||||
|
Reference in New Issue
Block a user