mirror of https://github.com/waku-org/js-waku.git
104 lines
2.7 KiB
JSON
104 lines
2.7 KiB
JSON
{
|
|
"name": "@waku/enr",
|
|
"version": "0.0.14",
|
|
"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:lint": "eslint src *.js --fix",
|
|
"check": "run-s check:*",
|
|
"check:lint": "eslint src --ext .ts",
|
|
"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.7.0",
|
|
"@libp2p/crypto": "^1.0.17",
|
|
"@libp2p/peer-id": "^2.0.3",
|
|
"@multiformats/multiaddr": "^12.0.0",
|
|
"@noble/secp256k1": "^1.7.1",
|
|
"@waku/utils": "0.0.8",
|
|
"debug": "^4.3.4",
|
|
"js-sha3": "^0.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@libp2p/interface-peer-id": "^2.0.1",
|
|
"@libp2p/interface-peer-info": "^1.0.8",
|
|
"@libp2p/peer-id-factory": "^2.0.3",
|
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
"@types/chai": "^4.3.4",
|
|
"@types/mocha": "^10.0.1",
|
|
"@waku/build-utils": "*",
|
|
"@waku/interfaces": "0.0.15",
|
|
"chai": "^4.3.7",
|
|
"cspell": "^6.31.1",
|
|
"karma": "^6.4.1",
|
|
"karma-chrome-launcher": "^3.1.1",
|
|
"karma-mocha": "^2.0.1",
|
|
"karma-webpack": "^5.0.0",
|
|
"mocha": "^10.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.8.8",
|
|
"process": "^0.11.10",
|
|
"puppeteer": "^20.4.0",
|
|
"rollup": "^3.21.3",
|
|
"ts-loader": "^9.4.2",
|
|
"typescript": "^5.0.4",
|
|
"uint8arrays": "^4.0.3"
|
|
},
|
|
"typedoc": {
|
|
"entryPoint": "./src/index.ts"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bundle",
|
|
"src/**/*.ts",
|
|
"!**/*.spec.*",
|
|
"!**/*.json",
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md"
|
|
]
|
|
}
|