js-waku/packages/tests/package.json

99 lines
3.0 KiB
JSON
Raw Normal View History

2022-11-01 08:57:19 +00:00
{
"name": "@waku/tests",
"private": true,
"version": "0.0.1",
"description": "Waku tests",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"type": "module",
"author": "Waku Team",
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/tests#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",
2022-11-01 08:57:19 +00:00
"fix": "run-s fix:*",
"fix:prettier": "prettier . --write",
"fix:lint": "eslint src tests --fix",
"pretest": "run-s pretest:*",
"pretest:1-init-git-submodules": "[ -f '../../nwaku/build/wakunode2' ] || git submodule update --init --recursive",
"pretest:2-build-nwaku": "[ -f '../../nwaku/build/wakunode2' ] || run-s nwaku:build",
"nwaku:build": "(PROC=$(nproc --all 2>/dev/null || echo 2); cd ../../nwaku; make -j$PROC update; NIMFLAGS=\"-d:chronicles_colors=off\" make -j$PROC wakunode2)",
"nwaku:force-build": "(cd ../../nwaku && rm -rf ./build/ ./vendor) && run-s nwaku:build",
2022-11-01 08:57:19 +00:00
"check": "run-s check:*",
"check:prettier": "prettier . --list-different",
"check:lint": "eslint src tests",
"check:spelling": "cspell \"{README.md,{tests,src}/**/*.ts}\"",
"check:tsc": "tsc -p tsconfig.dev.json",
"test": "run-s test:*",
2022-11-15 09:58:30 +00:00
"test:node": "TS_NODE_PROJECT=./tsconfig.dev.json mocha",
2022-11-01 09:13:09 +00:00
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
2022-11-01 08:57:19 +00:00
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@libp2p/peer-id": "^2.0.2",
2022-11-01 08:57:19 +00:00
"@waku/core": "*",
2022-11-16 04:49:43 +00:00
"@waku/enr": "*",
2022-11-03 10:48:04 +00:00
"@waku/interfaces": "*",
2023-02-09 02:21:03 +00:00
"@waku/utils": "*",
2023-02-10 02:06:33 +00:00
"app-root-path": "^3.1.0",
"debug": "^4.3.4",
2023-02-10 02:06:33 +00:00
"p-timeout": "^6.1.0",
"portfinder": "^1.0.32",
"tail": "^2.2.6"
2022-11-01 08:57:19 +00:00
},
"devDependencies": {
"@libp2p/bootstrap": "^6.0.3",
2023-02-09 03:36:53 +00:00
"@libp2p/components": "^3.1.1",
"@libp2p/interface-peer-discovery-compliance-tests": "^2.0.5",
2023-02-09 02:21:03 +00:00
"@libp2p/interface-peer-id": "^2.0.1",
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",
"@types/tail": "^2.2.1",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.51.0",
2023-02-09 03:36:53 +00:00
"@waku/create": "*",
"@waku/dns-discovery": "*",
"@waku/message-encryption": "*",
"@waku/peer-exchange": "*",
"chai": "^4.3.7",
"cspell": "^6.31.1",
2023-02-09 02:21:03 +00:00
"debug": "^4.3.4",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
2022-11-01 08:57:19 +00:00
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^5.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
2022-11-01 08:57:19 +00:00
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"typescript": "^4.9.5"
2022-11-01 08:57:19 +00:00
}
}