Skip to content

Commit

Permalink
package.json added
Browse files Browse the repository at this point in the history
  • Loading branch information
hereshem committed May 29, 2020
1 parent 3abba16 commit a2052ae
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "node-chat",
"version": "1.0.0",
"description": "Simplest Node Chat example that works",
"main": "server.js",
"scripts": {
"test": "node server.js",
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hereshem/Node-Chat.git"
},
"keywords": [
"node",
"chat",
"app"
],
"author": "Hem Shrestha",
"license": "ISC",
"bugs": {
"url": "https://github.com/hereshem/Node-Chat/issues"
},
"homepage": "https://github.com/hereshem/Node-Chat#readme"
}
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HOST = "0.0.0.0"; // localhost
PORT = 8000;
PORT = process.env.PORT || 8000;

// when the daemon started
var starttime = (new Date()).getTime();
Expand Down

0 comments on commit a2052ae

Please sign in to comment.