1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00
hack-chat-main/package.json

51 lines
1.4 KiB
JSON
Raw Normal View History

2018-03-10 15:47:00 +08:00
{
"name": "hack.chat-v2",
2022-06-23 00:32:51 +08:00
"version": "2.2.0",
"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",
"repository": {
"type": "git",
"url": "git+https://github.com/hack-chat/main.git"
},
2018-03-10 15:47:00 +08:00
"engines": {
"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
},
"author": "Marzavec",
2022-06-23 00:32:51 +08:00
"license": "MIT",
2018-03-10 15:47:00 +08:00
"dependencies": {
2022-06-23 00:32:51 +08:00
"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"
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
}