2022-11-04 00:13:12 +00:00
|
|
|
{
|
|
|
|
"name": "@waku/message-encryption",
|
2023-08-02 11:02:57 +00:00
|
|
|
"version": "0.0.20",
|
2022-11-04 00:13:12 +00:00
|
|
|
"description": "Waku Message Payload Encryption",
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
2022-12-05 04:14:17 +00:00
|
|
|
},
|
|
|
|
"./ecies": {
|
|
|
|
"types": "./dist/ecies.d.ts",
|
|
|
|
"import": "./dist/ecies.js"
|
|
|
|
},
|
|
|
|
"./symmetric": {
|
|
|
|
"types": "./dist/symmetric.d.ts",
|
|
|
|
"import": "./dist/symmetric.js"
|
2022-11-04 00:13:12 +00:00
|
|
|
}
|
|
|
|
},
|
2022-12-16 01:10:14 +00:00
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"*": [
|
|
|
|
"*",
|
|
|
|
"dist/*",
|
|
|
|
"dist/*/index"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-11-04 00:13:12 +00:00
|
|
|
"type": "module",
|
|
|
|
"author": "Waku Team",
|
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/message-encryption#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:*",
|
2023-02-28 03:55:17 +00:00
|
|
|
"fix:lint": "eslint src *.js --fix",
|
2022-11-04 00:13:12 +00:00
|
|
|
"check": "run-s check:*",
|
2023-02-28 03:55:17 +00:00
|
|
|
"check:lint": "eslint src *.js",
|
2022-11-04 00:13:12 +00:00
|
|
|
"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",
|
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-04 00:13:12 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16"
|
|
|
|
},
|
2022-11-04 00:38:32 +00:00
|
|
|
"browser": {
|
|
|
|
"crypto": false
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-02-10 00:22:25 +00:00
|
|
|
"@noble/secp256k1": "^1.7.1",
|
2023-08-02 11:02:57 +00:00
|
|
|
"@waku/core": "0.0.22",
|
|
|
|
"@waku/interfaces": "0.0.17",
|
2023-06-01 19:50:52 +00:00
|
|
|
"@waku/proto": "0.0.5",
|
2023-08-02 11:02:57 +00:00
|
|
|
"@waku/utils": "0.0.10",
|
2023-01-19 21:49:11 +00:00
|
|
|
"debug": "^4.3.4",
|
2023-01-19 21:14:17 +00:00
|
|
|
"js-sha3": "^0.8.0"
|
2022-11-04 00:38:32 +00:00
|
|
|
},
|
2022-11-04 00:13:12 +00:00
|
|
|
"devDependencies": {
|
2023-07-25 00:17:52 +00:00
|
|
|
"@libp2p/interface-connection": "^5.1.1",
|
|
|
|
"@libp2p/interface-connection-manager": "^3.0.1",
|
|
|
|
"@libp2p/interface-libp2p": "^3.2.0",
|
|
|
|
"@libp2p/interface-peer-id": "^2.0.2",
|
|
|
|
"@libp2p/interface-peer-store": "^2.0.4",
|
|
|
|
"@libp2p/interface-registrar": "^2.0.12",
|
2023-02-10 02:14:02 +00:00
|
|
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
2023-04-27 16:04:28 +00:00
|
|
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
2023-02-10 04:37:25 +00:00
|
|
|
"@types/chai": "^4.3.4",
|
2023-02-10 04:32:38 +00:00
|
|
|
"@types/mocha": "^10.0.1",
|
2023-03-02 04:24:08 +00:00
|
|
|
"@waku/build-utils": "*",
|
2023-02-10 03:02:02 +00:00
|
|
|
"chai": "^4.3.7",
|
2023-03-29 04:06:00 +00:00
|
|
|
"cspell": "^6.31.1",
|
2023-05-06 03:19:13 +00:00
|
|
|
"fast-check": "^3.8.1",
|
2023-02-10 05:30:18 +00:00
|
|
|
"karma": "^6.4.1",
|
2023-07-27 19:12:12 +00:00
|
|
|
"karma-chrome-launcher": "^3.2.0",
|
2023-02-10 05:30:18 +00:00
|
|
|
"karma-mocha": "^2.0.1",
|
|
|
|
"karma-webpack": "^5.0.0",
|
2023-02-10 02:59:44 +00:00
|
|
|
"mocha": "^10.2.0",
|
2022-11-04 00:13:12 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-02-10 05:30:18 +00:00
|
|
|
"process": "^0.11.10",
|
2023-05-26 08:14:24 +00:00
|
|
|
"puppeteer": "^20.4.0",
|
2023-05-04 05:59:08 +00:00
|
|
|
"rollup": "^3.21.3",
|
2023-02-10 05:47:08 +00:00
|
|
|
"ts-loader": "^9.4.2",
|
2023-05-17 05:58:36 +00:00
|
|
|
"typescript": "^5.0.4"
|
2022-11-04 00:13:12 +00:00
|
|
|
},
|
|
|
|
"typedoc": {
|
|
|
|
"entryPoint": "./src/index.ts"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
|
|
|
"src/**/*.ts",
|
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
}
|