mirror of https://github.com/waku-org/js-waku.git
103 lines
2.7 KiB
JSON
103 lines
2.7 KiB
JSON
{
|
|
"name": "@waku/enr",
|
|
"version": "0.0.5",
|
|
"description": "ENR (EIP-778) for Waku",
|
|
"types": "./dist/index.d.ts",
|
|
"module": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"type": "module",
|
|
"author": "Waku Team",
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/enr#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/waku-org/js-waku.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/waku-org/js-waku/issues"
|
|
},
|
|
"license": "MIT OR Apache-2.0",
|
|
"keywords": [
|
|
"waku",
|
|
"decentralized",
|
|
"secure",
|
|
"communication",
|
|
"web3",
|
|
"ethereum",
|
|
"dapps",
|
|
"privacy"
|
|
],
|
|
"scripts": {
|
|
"build": "run-s build:**",
|
|
"build:esm": "tsc",
|
|
"build:bundle": "rollup --config rollup.config.js",
|
|
"fix": "run-s fix:*",
|
|
"fix:prettier": "prettier . --write",
|
|
"fix:lint": "eslint src --ext .ts --ext .cjs --fix",
|
|
"check": "run-s check:*",
|
|
"check:lint": "eslint src --ext .ts",
|
|
"check:prettier": "prettier . --list-different",
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
|
"test": "run-s test:*",
|
|
"test:node": "TS_NODE_PROJECT=./tsconfig.dev.json mocha",
|
|
"test:browser": "karma start karma.conf.cjs",
|
|
"prepublish": "npm run build",
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"dependencies": {
|
|
"@ethersproject/rlp": "^5.5.0",
|
|
"@libp2p/crypto": "^1.0.11",
|
|
"@libp2p/peer-id": "^2.0.1",
|
|
"@multiformats/multiaddr": "^11.4.0",
|
|
"@noble/secp256k1": "^1.3.4",
|
|
"@waku/utils": "*",
|
|
"debug": "^4.3.4",
|
|
"js-sha3": "^0.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@libp2p/interface-peer-id": "^2.0.1",
|
|
"@libp2p/peer-id-factory": "^2.0.1",
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
|
"@typescript-eslint/parser": "^5.8.1",
|
|
"@waku/interfaces": "*",
|
|
"chai": "^4.3.6",
|
|
"cspell": "^6.17.0",
|
|
"eslint": "^8.6.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-functional": "^4.0.2",
|
|
"eslint-plugin-import": "^2.25.3",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.1.1",
|
|
"rollup": "^2.75.0",
|
|
"ts-loader": "^9.4.1",
|
|
"typescript": "^4.6.3",
|
|
"uint8arrays": "^4.0.3"
|
|
},
|
|
"typedoc": {
|
|
"entryPoint": "./src/index.ts"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bundle",
|
|
"src/**/*.ts",
|
|
"!**/*.spec.*",
|
|
"!**/*.json",
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md"
|
|
]
|
|
}
|