package.json: Add start command and set node requirement

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2023-11-02 22:23:20 +07:00
parent 4699ba1b48
commit 1f7a86fa2f

View File

@ -4,7 +4,8 @@
"description": "Nostr Bouncer server",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"repository": {
"type": "git",
@ -24,5 +25,8 @@
"dependencies": {
"better-sqlite3": "^9.0.0",
"ws": "^8.14.2"
},
"engines": {
"node": ">=16"
}
}