mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-23 09:38:24 +00:00
* chore: setup rln as a new package * chore: migrate src * fix: wasm loading, tests, config * chore: fix Karma CI * fix: bundler * chore: copy dist resources * chore(rln): enable all tests * chore: increase karma timeouts
90 lines
2.5 KiB
JSON
90 lines
2.5 KiB
JSON
{
|
|
"name": "@waku/rln",
|
|
"version": "0.0.1",
|
|
"description": "RLN (Rate Limiting Nullifier) implementation for Waku",
|
|
"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/rln#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",
|
|
"rln",
|
|
"rate-limiting",
|
|
"privacy",
|
|
"web3"
|
|
],
|
|
"scripts": {
|
|
"build": "run-s build:**",
|
|
"build:copy": "mkdir -p dist/resources && cp -r src/resources/* dist/resources/",
|
|
"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/!(resources)/**/*.{ts,js}\" *.js",
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
"test": "NODE_ENV=test run-s test:*",
|
|
"test:browser": "karma start karma.conf.cjs",
|
|
"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": {
|
|
"node": ">=20"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@types/chai": "^5.0.1",
|
|
"@types/chai-spies": "^1.0.6",
|
|
"@types/deep-equal-in-any-order": "^1.0.4",
|
|
"@types/lodash": "^4.17.15",
|
|
"@waku/build-utils": "^1.0.0",
|
|
"@waku/message-encryption": "^0.0.31",
|
|
"chai": "^5.1.2",
|
|
"chai-as-promised": "^8.0.1",
|
|
"chai-spies": "^1.1.0",
|
|
"chai-subset": "^1.6.0",
|
|
"deep-equal-in-any-order": "^2.0.6",
|
|
"fast-check": "^3.23.2",
|
|
"rollup-plugin-copy": "^3.5.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bundle",
|
|
"src/**/*.ts",
|
|
"!**/*.spec.*",
|
|
"!**/*.json",
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"dependencies": {
|
|
"@chainsafe/bls-keystore": "3.0.0",
|
|
"@waku/core": "^0.0.33",
|
|
"@waku/utils": "^0.0.21",
|
|
"@waku/zerokit-rln-wasm": "^0.0.13",
|
|
"ethereum-cryptography": "^3.1.0",
|
|
"ethers": "^5.7.2",
|
|
"lodash": "^4.17.21",
|
|
"uuid": "^11.0.5"
|
|
}
|
|
}
|