diff --git a/app.js b/index.js similarity index 100% rename from app.js rename to index.js diff --git a/package.json b/package.json index 673fc457..4c8d8e5d 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,9 @@ "browser" ], "main": "./app.js", + "scripts": { + "start": "nodemon index.js -p 9000" + }, "repository": { "type": "git", "url": "https://github.com/erming/chat.git"