2018-03-10 15:47:00 +08:00
|
|
|
{
|
|
|
|
"name": "hack.chat-v2",
|
2023-12-22 15:14:03 +08:00
|
|
|
"version": "2.2.1",
|
2022-06-23 00:32:51 +08:00
|
|
|
"type": "module",
|
2018-03-10 15:47:00 +08:00
|
|
|
"description": "a minimal distraction free chat application",
|
2022-06-23 00:32:51 +08:00
|
|
|
"main": "main.mjs",
|
2018-03-11 14:41:17 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/hack-chat/main.git"
|
|
|
|
},
|
2018-03-10 15:47:00 +08:00
|
|
|
"engines": {
|
2019-02-21 16:43:25 +08:00
|
|
|
"node": ">= 10.15.1",
|
|
|
|
"npm": ">= 6.7.0"
|
2018-03-10 15:47:00 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-06-23 00:32:51 +08:00
|
|
|
"start": "pm2 startOrReload pm2.config.cjs",
|
|
|
|
"stop": "pm2 stop pm2.config.cjs && pm2 delete pm2.config.cjs",
|
2020-03-13 02:28:20 +08:00
|
|
|
"logs": "pm2 logs",
|
|
|
|
"clear": "pm2 flush",
|
|
|
|
"status": "pm2 list",
|
2022-06-23 00:32:51 +08:00
|
|
|
"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"
|
2018-03-10 15:47:00 +08:00
|
|
|
},
|
2023-12-22 15:14:03 +08:00
|
|
|
"author": "marzavec",
|
2022-06-23 00:32:51 +08:00
|
|
|
"license": "MIT",
|
2018-03-10 15:47:00 +08:00
|
|
|
"dependencies": {
|
2023-12-22 15:14:03 +08:00
|
|
|
"ascii-captcha": "^0.0.3",
|
2022-06-23 00:32:51 +08:00
|
|
|
"enquirer": "^2.3.6",
|
2023-12-29 15:17:33 +08:00
|
|
|
"hackchat-server": "^2.3.1",
|
2022-06-23 00:32:51 +08:00
|
|
|
"http-server": "^14.1.0",
|
2023-12-22 15:14:03 +08:00
|
|
|
"jsonwebtoken": "^9.0.2",
|
2022-06-23 00:32:51 +08:00
|
|
|
"lowdb": "^3.0.0",
|
2023-12-22 15:14:03 +08:00
|
|
|
"pm2": "^5.3.0"
|
2020-09-17 13:44:32 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-23 00:32:51 +08:00
|
|
|
"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"
|
2018-03-10 15:47:00 +08:00
|
|
|
}
|
2018-05-20 08:21:08 +08:00
|
|
|
}
|