From ee061ab1a218688dde92b15fa772ef6e8c8160d7 Mon Sep 17 00:00:00 2001 From: Erick Hitter <services@ethitter.com> Date: Fri, 13 Jan 2017 20:38:13 -0800 Subject: [PATCH] Support `npm start` --- .gitignore | 1 + config-sample.json | 4 ++++ package.json | 12 +++++------- 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 config-sample.json diff --git a/.gitignore b/.gitignore index 5345e13..5edcce1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules auth.md +config.json diff --git a/config-sample.json b/config-sample.json new file mode 100644 index 0000000..f766bcd --- /dev/null +++ b/config-sample.json @@ -0,0 +1,4 @@ +{ + "apikey": "", + "port": 9001 +} diff --git a/package.json b/package.json index 1a2da97..f9cfec9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "slack-weather", + "name": "weather-on-the-slack", "version": "1.0.0", - "description": "_A Slackbot that gets weather conditions", + "description": "A Slackbot that gets weather conditions and forecast", "main": "index.js", "dependencies": { "body-parser": "^1.14.2", @@ -11,16 +11,14 @@ }, "devDependencies": {}, "scripts": { + "start": "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", - "url": "git+https://github.com/ryadav88/slack-weather.git" + "url": "git+https://git.ethitter.com/open-source/weather-on-the-slash.git" }, "author": "", "license": "MIT", - "bugs": { - "url": "https://github.com/ryadav88/slack-weather/issues" - }, - "homepage": "https://github.com/ryadav88/slack-weather#readme" + "homepage": "https://git.ethitter.com/open-source/weather-on-the-slash/#readme" } -- GitLab