2023-03-10 04:50:24 +00:00
|
|
|
{
|
|
|
|
"name": "@waku/message-hash",
|
2024-07-10 15:25:22 +00:00
|
|
|
"version": "0.1.14",
|
2023-03-10 04:50:24 +00:00
|
|
|
"description": "TypeScript implementation of the Deterministic Message Hashing as specified in 14/WAKU2-MESSAGE",
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/message-hash#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",
|
|
|
|
"decentralised",
|
|
|
|
"communication",
|
|
|
|
"web3",
|
|
|
|
"ethereum",
|
|
|
|
"dapps"
|
|
|
|
],
|
|
|
|
"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:tsc": "tsc -p tsconfig.dev.json",
|
|
|
|
"check:lint": "eslint src *.js",
|
|
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
2024-01-02 11:00:18 +00:00
|
|
|
"test": "NODE_ENV=test run-s test:*",
|
|
|
|
"test:node": "NODE_ENV=test TS_NODE_PROJECT=./tsconfig.dev.json mocha",
|
|
|
|
"test:browser": "NODE_ENV=test karma start karma.conf.cjs",
|
2023-03-10 04:50:24 +00:00
|
|
|
"watch:build": "tsc -p tsconfig.json -w",
|
|
|
|
"watch:test": "mocha --watch",
|
|
|
|
"prepublish": "npm run build",
|
|
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
|
|
|
},
|
|
|
|
"engines": {
|
2023-09-22 09:07:34 +00:00
|
|
|
"node": ">=18"
|
2023-03-10 04:50:24 +00:00
|
|
|
},
|
2023-03-13 03:50:46 +00:00
|
|
|
"dependencies": {
|
2023-08-30 15:54:13 +00:00
|
|
|
"@noble/hashes": "^1.3.2",
|
2024-07-10 15:25:22 +00:00
|
|
|
"@waku/utils": "0.0.18"
|
2023-03-13 03:50:46 +00:00
|
|
|
},
|
2023-03-10 04:50:24 +00:00
|
|
|
"devDependencies": {
|
2023-11-27 11:11:15 +00:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
2023-03-10 04:50:24 +00:00
|
|
|
"@rollup/plugin-json": "^6.0.0",
|
2023-10-23 07:50:20 +00:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2023-11-27 11:26:31 +00:00
|
|
|
"@types/chai": "^4.3.11",
|
2023-12-05 21:10:49 +00:00
|
|
|
"@types/debug": "^4.1.12",
|
2024-02-05 21:41:46 +00:00
|
|
|
"@types/mocha": "^10.0.6",
|
2023-03-10 04:50:24 +00:00
|
|
|
"@waku/build-utils": "*",
|
2024-07-10 15:25:22 +00:00
|
|
|
"@waku/interfaces": "0.0.25",
|
2023-11-27 11:26:31 +00:00
|
|
|
"chai": "^4.3.10",
|
2024-04-04 13:42:51 +00:00
|
|
|
"cspell": "^8.6.1",
|
2024-02-08 23:06:00 +00:00
|
|
|
"fast-check": "^3.15.1",
|
2023-03-10 04:50:24 +00:00
|
|
|
"ignore-loader": "^0.1.2",
|
|
|
|
"isomorphic-fetch": "^3.0.0",
|
2024-02-13 16:51:57 +00:00
|
|
|
"mocha": "^10.3.0",
|
2023-03-10 04:50:24 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"process": "^0.11.10",
|
2024-02-29 00:16:50 +00:00
|
|
|
"rollup": "^4.12.0"
|
2023-03-10 04:50:24 +00:00
|
|
|
},
|
2024-03-12 01:18:40 +00:00
|
|
|
"peerDependencies": {
|
|
|
|
"@waku/interfaces": "0.0.22",
|
|
|
|
"@waku/utils": "0.0.15"
|
|
|
|
},
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"@waku/interfaces": {
|
|
|
|
"optional": true
|
|
|
|
}
|
|
|
|
},
|
2023-03-10 04:50:24 +00:00
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
|
|
|
"src/*.ts",
|
|
|
|
"src/lib/**/*.ts",
|
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
|
|
|
]
|
|
|
|
}
|