2022-10-31 03:32:39 +00:00
|
|
|
{
|
2023-06-05 11:40:13 +00:00
|
|
|
"name": "@waku/sdk",
|
2024-09-05 23:42:16 +00:00
|
|
|
"version": "0.0.28",
|
2023-06-05 11:40:13 +00:00
|
|
|
"description": "A unified SDK for easy creation and management of js-waku nodes.",
|
2022-10-31 03:32:39 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
2024-01-11 13:38:21 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"*": [
|
|
|
|
"*",
|
|
|
|
"dist/*",
|
|
|
|
"dist/*/index"
|
|
|
|
]
|
2022-10-31 03:32:39 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"author": "Waku Team",
|
2023-06-05 11:40:13 +00:00
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/sdk#readme",
|
2022-10-31 03:32:39 +00:00
|
|
|
"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:*",
|
2023-02-28 03:55:17 +00:00
|
|
|
"fix:lint": "eslint src *.js --fix",
|
2022-10-31 03:32:39 +00:00
|
|
|
"check": "run-s check:*",
|
2023-02-28 03:55:17 +00:00
|
|
|
"check:lint": "eslint src *.js",
|
2022-10-31 03:32:39 +00:00
|
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
2024-10-08 22:43:34 +00:00
|
|
|
"test": "NODE_ENV=test run-s test:*",
|
|
|
|
"test:node": "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha",
|
|
|
|
"watch:test": "mocha --watch",
|
2022-10-31 03:32:39 +00:00
|
|
|
"prepublish": "npm run build",
|
2022-11-04 03:42:24 +00:00
|
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
2022-10-31 03:32:39 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2024-08-23 10:27:20 +00:00
|
|
|
"node": ">=20"
|
2022-10-31 03:32:39 +00:00
|
|
|
},
|
2022-10-31 03:49:39 +00:00
|
|
|
"dependencies": {
|
2024-08-13 22:53:04 +00:00
|
|
|
"@chainsafe/libp2p-noise": "^15.1.0",
|
|
|
|
"@libp2p/bootstrap": "^10.1.2",
|
|
|
|
"@libp2p/identify": "^2.1.2",
|
|
|
|
"@libp2p/mplex": "^10.1.2",
|
|
|
|
"@libp2p/ping": "^1.1.2",
|
|
|
|
"@libp2p/websockets": "^8.1.4",
|
2024-04-01 11:17:47 +00:00
|
|
|
"@noble/hashes": "^1.3.3",
|
2024-09-05 23:42:16 +00:00
|
|
|
"@waku/core": "0.0.32",
|
|
|
|
"@waku/discovery": "0.0.5",
|
|
|
|
"@waku/interfaces": "0.0.27",
|
2024-08-29 09:49:04 +00:00
|
|
|
"@waku/proto": "^0.0.8",
|
2024-09-05 23:42:16 +00:00
|
|
|
"@waku/utils": "0.0.20",
|
|
|
|
"@waku/message-hash": "0.1.16",
|
2024-10-08 22:43:34 +00:00
|
|
|
"libp2p": "^1.8.1"
|
2023-02-09 02:37:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-08 22:43:34 +00:00
|
|
|
"@types/mocha": "^10.0.6",
|
|
|
|
"@types/chai": "^4.3.11",
|
2023-11-27 11:11:15 +00:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
2023-02-10 02:14:02 +00:00
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
2023-10-23 07:50:20 +00:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2024-04-09 10:43:28 +00:00
|
|
|
"@rollup/plugin-replace": "^5.0.5",
|
2023-03-02 04:24:08 +00:00
|
|
|
"@waku/build-utils": "*",
|
2024-10-08 22:43:34 +00:00
|
|
|
"mocha": "^10.3.0",
|
|
|
|
"sinon": "^18.0.0",
|
|
|
|
"chai": "^4.3.10",
|
2024-04-04 13:42:51 +00:00
|
|
|
"cspell": "^8.6.1",
|
2024-01-16 18:15:28 +00:00
|
|
|
"interface-datastore": "^8.2.10",
|
2022-10-31 03:32:39 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2024-02-29 00:16:50 +00:00
|
|
|
"rollup": "^4.12.0"
|
2022-11-02 04:05:12 +00:00
|
|
|
},
|
2024-03-04 09:56:20 +00:00
|
|
|
"peerDependencies": {
|
2024-09-05 22:44:59 +00:00
|
|
|
"@libp2p/bootstrap": "^10"
|
2024-03-12 01:18:40 +00:00
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"@libp2p/bootstrap": {
|
|
|
|
"optional": true
|
|
|
|
}
|
2024-03-04 09:56:20 +00:00
|
|
|
},
|
2022-10-31 03:32:39 +00:00
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
2023-03-24 22:43:40 +00:00
|
|
|
"src/**/*.ts",
|
2022-10-31 03:32:39 +00:00
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
}
|