waku-tests/package.json

66 lines
1.7 KiB
JSON

{
"name": "@waku/node-tests",
"packageManager": "yarn@3.2.0",
"type": "module",
"repository": "https://github.com/waku-org/waku-tests",
"license": "MIT OR Apache-2.0",
"scripts": {
"fix": "run-s fix:**",
"fix:lint": "eslint . --ext .js --fix",
"fix:prettier": "prettier --write .",
"test": "run-s test:*",
"test:lint": "eslint . --ext .js",
"test:prettier": "prettier . --list-different",
"predefined-prod": "mocha predefinedProdFleet.js --exit",
"predefined-test": "mocha predefinedTestFleet.js --exit ",
"native-wss-prod": "mocha nativeWssProdFleet.js --exit",
"native-wss-test": "mocha nativeWssTestFleet.js --exit",
"waku-connect": "mocha wakuConnectFleet.js --exit",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"eslintConfig": {
"env": {
"mocha": true,
"es2020": true,
"shared-node-browser": true
},
"parserOptions": {
"sourceType": "module"
},
"root": true,
"extends": [
"eslint:recommended",
"prettier"
]
},
"eslintIgnore": [
".pnp.cjs",
".pnp.loader.mjs",
".yarnrc.yml",
".yarn",
"node_modules"
],
"devDependencies": {
"chai": "^4.3.6",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"husky": ">=6",
"lint-staged": ">=10",
"mocha": "^10.0.0",
"npm-run-all": "^4.1.5",
"pinst": ">=2",
"prettier": "^2.6.2"
},
"dependencies": {
"js-waku": "^0.25.0",
"multiaddr": "^10.0.1",
"uuid": "^8.3.2"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md,yml}": "prettier --write"
}
}