2022-04-20 00:36:52 +00:00
|
|
|
{
|
|
|
|
"name": "waku-tests",
|
|
|
|
"packageManager": "yarn@3.2.0",
|
2022-04-20 02:07:40 +00:00
|
|
|
"type": "module",
|
2022-04-20 00:36:52 +00:00
|
|
|
"scripts": {
|
2022-04-20 01:15:11 +00:00
|
|
|
"lint": "eslint . --ext .js",
|
|
|
|
"format": "prettier --write .",
|
2022-04-20 02:07:40 +00:00
|
|
|
"fix": "run-s lint format",
|
2022-04-20 03:47:28 +00:00
|
|
|
"predefined-prod": "mocha predefinedProdFleet.js --exit",
|
|
|
|
"predefined-test": "mocha predefinedTestFleet.js --exit ",
|
2022-04-20 05:38:36 +00:00
|
|
|
"native-wss-prod": "mocha nativeWssProdFleet.js --exit",
|
2022-04-22 05:12:30 +00:00
|
|
|
"native-wss-test": "mocha nativeWssTestFleet.js --exit",
|
2022-04-22 05:19:05 +00:00
|
|
|
"waku-connect": "mocha wakuConnectFleet.js --exit",
|
|
|
|
"postinstall": "husky install",
|
|
|
|
"prepublishOnly": "pinst --disable",
|
|
|
|
"postpublish": "pinst --enable"
|
2022-04-20 00:36:52 +00:00
|
|
|
},
|
2022-04-20 01:15:11 +00:00
|
|
|
"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",
|
2022-04-20 02:07:40 +00:00
|
|
|
".yarn",
|
|
|
|
"node_modules"
|
2022-04-20 01:15:11 +00:00
|
|
|
],
|
2022-04-20 00:36:52 +00:00
|
|
|
"devDependencies": {
|
2022-04-20 01:15:11 +00:00
|
|
|
"chai": "^4.3.6",
|
2022-04-20 00:36:52 +00:00
|
|
|
"eslint": "^8.13.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2022-04-22 05:19:05 +00:00
|
|
|
"husky": ">=6",
|
|
|
|
"lint-staged": ">=10",
|
2022-04-20 01:15:11 +00:00
|
|
|
"mocha": "^9.2.2",
|
2022-04-20 02:07:40 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2022-04-22 05:19:05 +00:00
|
|
|
"pinst": ">=2",
|
2022-04-20 01:15:11 +00:00
|
|
|
"prettier": "^2.6.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"js-waku": "^0.20.0",
|
2022-04-20 04:14:41 +00:00
|
|
|
"multiaddr": "^10.0.1",
|
2022-04-20 02:07:40 +00:00
|
|
|
"uuid": "^8.3.2"
|
2022-04-22 05:19:05 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": "eslint --cache --fix",
|
|
|
|
"*.{js,css,md}": "prettier --write"
|
2022-04-20 00:36:52 +00:00
|
|
|
}
|
|
|
|
}
|