Added cli for user management, abstracted some database queries into handler functions.

This commit is contained in:
knotteye
2019-09-24 17:29:37 -05:00
parent abcd6787ca
commit 68f9866c16
6 changed files with 124 additions and 40 deletions

View File

@ -6,7 +6,8 @@
"author": "knotteye",
"scripts": {
"start": "node build/controller.js",
"build": "tsc"
"build": "tsc",
"user": "node build/cli.js"
},
"repository": {
"type": "git",
@ -15,12 +16,14 @@
"dependencies": {
"bcrypt": "^3.0.6",
"config": "^3.2.2",
"flags": "^0.1.3",
"irc": "^0.5.2",
"mysql": "^2.17.1",
"node-media-server": ">=2.1.3 <3.0.0",
"toml": "^3.0.0"
},
"devDependencies": {
"@types/node": "^12.7.5"
"@types/node": "^12.7.5",
"typescript": "^3.6.3"
}
}