Latest dev sync

This commit is contained in:
marzavec
2022-06-22 11:32:51 -05:00
parent 39b47554b8
commit 2bbb507f01
180 changed files with 50855 additions and 4416 deletions
+28 -15
View File
@@ -1,8 +1,9 @@
{
"name": "hack.chat-v2",
"version": "2.1.93",
"version": "2.2.0",
"type": "module",
"description": "a minimal distraction free chat application",
"main": "index.js",
"main": "main.mjs",
"repository": {
"type": "git",
"url": "git+https://github.com/hack-chat/main.git"
@@ -12,26 +13,38 @@
"npm": ">= 6.7.0"
},
"scripts": {
"start": "pm2 startOrReload pm2.config.js",
"stop": "pm2 stop pm2.config.js && pm2 delete pm2.config.js",
"start": "pm2 startOrReload pm2.config.cjs",
"stop": "pm2 stop pm2.config.cjs && pm2 delete pm2.config.cjs",
"logs": "pm2 logs",
"clear": "pm2 flush",
"status": "pm2 list",
"refresh": "pm2 flush && pm2 stop pm2.config.js && pm2 delete pm2.config.js",
"postinstall": "cd ./server && npm install && npm run config",
"lint": "eslint --ignore-path .gitignore -- ./server ",
"lint:fix": "eslint --ignore-path .gitignore --fix -- ./server "
"refresh": "pm2 flush && pm2 stop pm2.config.cjs && pm2 delete pm2.config.cjs",
"postinstall": "npm run config",
"config": "node ./scripts/config.js",
"lint": "eslint -- . ",
"lint:fix": "eslint --fix -- . ",
"test_run": "cls && npm run refresh && npm start && npm run logs && npm run stop",
"test": "npm run lint && c8 mocha --exit ./test/*.test.js",
"makedocs": "jsdoc -c jsdoc.json"
},
"author": "Marzavec",
"license": "WTFPL",
"license": "MIT",
"dependencies": {
"esm": "^3.2.25",
"http-server": "^0.12.3",
"pm2": "^4.4.1"
"enquirer": "^2.3.6",
"hackchat-server": "^2.2.27",
"http-server": "^14.1.0",
"jsonwebtoken": "^8.5.1",
"lowdb": "^3.0.0",
"pm2": "^5.2.0"
},
"devDependencies": {
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0"
"c8": "^7.11.0",
"chai": "^4.3.6",
"codecov": "^3.8.3",
"eslint": "^8.9.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"mocha": "^9.2.1",
"nyc": "^15.1.0"
}
}