add command to start dev http server

you can use a simple node http server to start a http server for development on localhost:8888.
also added generic nodejs gitignore
This commit is contained in:
alexfriesen
2017-04-21 14:02:39 +02:00
parent 465a8a1631
commit cbe2b27e28
2 changed files with 74 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"name": "webrcon",
"description": "Game server Rcon, using websockets",
"repository": {
"type": "git",
"url": "https://github.com/Facepunch/webrcon"
},
"scripts": {
"server": "http-server -p 8888",
"start": "npm run server"
},
"devDependencies": {
"http-server": "^0.9.0"
}
}