2022-11-02 06:03:38 +00:00
|
|
|
{
|
2023-02-06 05:52:36 +00:00
|
|
|
"name": "@waku/utils",
|
2023-04-03 06:15:39 +00:00
|
|
|
"version": "0.0.4",
|
2023-02-06 05:52:36 +00:00
|
|
|
"description": "Different utilities for Waku",
|
2022-11-02 06:03:38 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
2023-03-14 04:40:38 +00:00
|
|
|
},
|
|
|
|
"./libp2p": {
|
|
|
|
"types": "./dist/libp2p/index.d.ts",
|
|
|
|
"import": "./dist/libp2p/index.js"
|
|
|
|
},
|
|
|
|
"./bytes": {
|
|
|
|
"types": "./dist/bytes/index.d.ts",
|
|
|
|
"import": "./dist/bytes/index.js"
|
2022-11-02 06:03:38 +00:00
|
|
|
}
|
|
|
|
},
|
2023-04-03 04:57:43 +00:00
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"*": [
|
|
|
|
"*",
|
|
|
|
"dist/*",
|
|
|
|
"dist/*/index"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-11-02 06:03:38 +00:00
|
|
|
"type": "module",
|
|
|
|
"author": "Waku Team",
|
2023-02-06 05:52:36 +00:00
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/utils#readme",
|
2022-11-02 06:03:38 +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-11-02 06:03:38 +00:00
|
|
|
"check": "run-s check:*",
|
2023-02-28 03:55:17 +00:00
|
|
|
"check:lint": "eslint src *.js",
|
2022-11-02 06:03:38 +00:00
|
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
|
|
|
"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-11-02 06:03:38 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16"
|
|
|
|
},
|
2022-11-02 11:25:47 +00:00
|
|
|
"dependencies": {
|
2023-02-06 05:52:36 +00:00
|
|
|
"debug": "^4.3.4",
|
2023-02-09 03:21:06 +00:00
|
|
|
"uint8arrays": "^4.0.3"
|
2022-11-02 11:25:47 +00:00
|
|
|
},
|
2022-11-02 06:03:38 +00:00
|
|
|
"devDependencies": {
|
2023-02-09 02:21:03 +00:00
|
|
|
"@libp2p/interface-connection": "^3.0.8",
|
|
|
|
"@libp2p/interface-peer-id": "^2.0.1",
|
|
|
|
"@libp2p/interface-peer-store": "^1.2.8",
|
2023-02-10 02:14:02 +00:00
|
|
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
2023-03-29 03:22:08 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.57.0",
|
2023-02-10 03:52:20 +00:00
|
|
|
"@typescript-eslint/parser": "^5.51.0",
|
2023-03-02 04:24:08 +00:00
|
|
|
"@waku/build-utils": "*",
|
2023-03-29 04:06:00 +00:00
|
|
|
"cspell": "^6.31.1",
|
2023-02-27 16:25:16 +00:00
|
|
|
"eslint": "^8.35.0",
|
2023-02-10 03:52:20 +00:00
|
|
|
"eslint-config-prettier": "^8.6.0",
|
2022-11-02 06:03:38 +00:00
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
2023-02-10 03:52:20 +00:00
|
|
|
"eslint-plugin-functional": "^5.0.4",
|
|
|
|
"eslint-plugin-import": "^2.27.5",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2022-11-02 06:03:38 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-04-05 05:01:50 +00:00
|
|
|
"prettier": "^2.8.7",
|
2023-02-14 16:25:26 +00:00
|
|
|
"rollup": "^3.15.0",
|
2023-02-10 02:49:03 +00:00
|
|
|
"typescript": "^4.9.5"
|
2022-11-02 06:03:38 +00:00
|
|
|
},
|
|
|
|
"typedoc": {
|
|
|
|
"entryPoint": "./src/index.ts"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
2023-03-24 22:43:40 +00:00
|
|
|
"src/**/*.ts",
|
2022-11-02 06:03:38 +00:00
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
}
|