2022-11-01 03:48:52 +00:00
|
|
|
{
|
|
|
|
"name": "@waku/interfaces",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "Definition of Waku interfaces",
|
|
|
|
"types": "./dist/index.d.ts",
|
2022-11-01 08:15:06 +00:00
|
|
|
"module": "./dist/index.js",
|
2022-11-01 03:48:52 +00:00
|
|
|
"exports": {
|
|
|
|
".": {
|
2022-11-01 08:15:06 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js"
|
2022-11-01 03:48:52 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "module",
|
|
|
|
"author": "Waku Team",
|
|
|
|
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/interfaces#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": {
|
2022-11-01 04:16:38 +00:00
|
|
|
"build": "tsc",
|
2022-11-01 03:48:52 +00:00
|
|
|
"fix": "run-s fix:*",
|
|
|
|
"fix:prettier": "prettier . --write",
|
|
|
|
"fix:lint": "eslint src --ext .ts --ext .cjs --fix",
|
|
|
|
"check": "run-s check:*",
|
|
|
|
"check:lint": "eslint src --ext .ts",
|
|
|
|
"check:prettier": "prettier . --list-different",
|
|
|
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
|
|
|
"check:tsc": "tsc -p tsconfig.dev.json",
|
|
|
|
"test": "exit 0 # Tested in @waku/core",
|
|
|
|
"proto": "exit 0 # no proto",
|
|
|
|
"doc": "run-s doc:*",
|
|
|
|
"doc:html": "typedoc --treatWarningsAsErrors",
|
|
|
|
"prepublish": "npm run build",
|
|
|
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build",
|
|
|
|
"release": "semantic-release"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16"
|
|
|
|
},
|
2022-11-01 05:30:24 +00:00
|
|
|
"dependencies": {
|
|
|
|
"@chainsafe/libp2p-gossipsub": "^4.1.1",
|
|
|
|
"@libp2p/interface-connection": "^3.0.2",
|
|
|
|
"@libp2p/interface-peer-id": "^1.0.5",
|
|
|
|
"@libp2p/interface-peer-store": "^1.2.2",
|
|
|
|
"@multiformats/multiaddr": "^11.0.6",
|
|
|
|
"libp2p": "0.38.0"
|
|
|
|
},
|
2022-11-01 03:48:52 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@semantic-release/changelog": "^6.0.1",
|
|
|
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
|
|
"@semantic-release/git": "^10.0.1",
|
|
|
|
"@semantic-release/github": "^8.0.6",
|
|
|
|
"@semantic-release/npm": "^9.0.1",
|
|
|
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
|
|
|
"@typescript-eslint/parser": "^5.8.1",
|
|
|
|
"cspell": "^5.14.0",
|
|
|
|
"eslint": "^8.6.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
|
|
"eslint-plugin-functional": "^4.0.2",
|
|
|
|
"eslint-plugin-import": "^2.25.3",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"prettier": "^2.1.1",
|
|
|
|
"semantic-release": "^19.0.5",
|
|
|
|
"semantic-release-monorepo": "^7.0.5",
|
|
|
|
"typedoc": "^0.23.10",
|
|
|
|
"typescript": "^4.6.3"
|
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"branches": [
|
|
|
|
"master"
|
|
|
|
],
|
|
|
|
"extends": "semantic-release-monorepo",
|
|
|
|
"plugins": [
|
|
|
|
[
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
{
|
|
|
|
"preset": "conventionalcommits",
|
|
|
|
"releaseRules": [
|
|
|
|
{
|
|
|
|
"breaking": true,
|
|
|
|
"release": "major"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"revert": true,
|
|
|
|
"release": "patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "feat",
|
|
|
|
"release": "minor"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "fix",
|
|
|
|
"release": "patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doc",
|
|
|
|
"release": "patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "test",
|
|
|
|
"release": "patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "deps",
|
|
|
|
"release": "patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "no-release",
|
|
|
|
"release": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@semantic-release/release-notes-generator",
|
|
|
|
{
|
|
|
|
"preset": "conventionalcommits",
|
|
|
|
"presetConfig": {
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "feat",
|
|
|
|
"section": "Features"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "fix",
|
|
|
|
"section": "Bug Fixes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "chore",
|
|
|
|
"section": "Trivial Changes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doc",
|
|
|
|
"section": "Documentation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "test",
|
|
|
|
"section": "Tests"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@semantic-release/changelog",
|
|
|
|
"@semantic-release/npm",
|
|
|
|
"@semantic-release/github",
|
|
|
|
"@semantic-release/git"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"bundle",
|
|
|
|
"src/*.ts",
|
|
|
|
"src/lib/**/*.ts",
|
|
|
|
"src/proto/**/*.ts",
|
|
|
|
"!**/*.spec.*",
|
|
|
|
"!**/*.json",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
|
|
|
"README.md"
|
2022-11-01 05:30:24 +00:00
|
|
|
]
|
2022-11-01 03:48:52 +00:00
|
|
|
}
|