mirror of https://github.com/waku-org/js-waku.git
76 lines
2.1 KiB
JSON
76 lines
2.1 KiB
JSON
{
|
|
"name": "js-waku-cli-chat",
|
|
"version": "0.1.0",
|
|
"description": "A NodeJS CLI Chat App powered by js-waku",
|
|
"main": "./index.ts",
|
|
"repository": "https://github.com/status-im/js-waku",
|
|
"license": "MIT OR Apache-2.0",
|
|
"keywords": [
|
|
"waku",
|
|
"decentralised",
|
|
"communication"
|
|
],
|
|
"scripts": {
|
|
"build": "run-s build:*",
|
|
"build:main": "tsc -p tsconfig.json",
|
|
"fix": "run-s fix:*",
|
|
"fix:prettier": "prettier \"src/**/*.ts\" \"./*.json\" --write",
|
|
"fix:lint": "eslint src --ext .ts --fix",
|
|
"start": "ts-node src/index.ts",
|
|
"test": "run-s build test:*",
|
|
"test:lint": "eslint src --ext .ts",
|
|
"test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" --list-different",
|
|
"test:spelling": "cspell \"{README.md,src/**/*.ts}\" -c ../../.cspell.json",
|
|
"test:unit": "nyc --silent mocha",
|
|
"watch:build": "tsc -p tsconfig.json -w",
|
|
"watch:test": "nyc --silent mocha --watch",
|
|
"version": "standard-version",
|
|
"reset-hard": "git clean -dfx && git reset --hard && npm i"
|
|
},
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"dependencies": {
|
|
"js-waku": "../../build/main",
|
|
"libp2p-tcp": "^0.17.0",
|
|
"prompt-sync": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
|
"@types/app-root-path": "^1.2.4",
|
|
"@types/chai": "^4.2.15",
|
|
"@types/mocha": "^8.2.2",
|
|
"@types/node": "^14.14.31",
|
|
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
|
"@typescript-eslint/parser": "^4.0.1",
|
|
"chai": "^4.3.4",
|
|
"cspell": "^4.1.0",
|
|
"eslint": "^7.8.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-functional": "^3.0.2",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"mocha": "^8.3.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.1.1",
|
|
"ts-node": "^9.1.1",
|
|
"typedoc": "^0.20.29",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true
|
|
},
|
|
"files": [
|
|
"!**/*.spec.*",
|
|
"!**/*.json",
|
|
"README.md"
|
|
],
|
|
"nyc": {
|
|
"extends": "@istanbuljs/nyc-config-typescript",
|
|
"exclude": [
|
|
"**/*.spec.js"
|
|
]
|
|
}
|
|
}
|