Skip to content

Commit

Permalink
[Shaffi] Refactored index file and created a executable bin
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed Shaffi committed Feb 19, 2017
1 parent b4df84c commit d6095a1
Show file tree
Hide file tree
Showing 7 changed files with 317 additions and 270 deletions.
4 changes: 4 additions & 0 deletions bin/pairingBot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node
const PairingBot = require('../src/pairingBot');
const pairingBot = new PairingBot();
pairingBot.start();
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
"name": "pairing-bot",
"version": "1.0.1",
"description": "A bot to track pairing from git commit, post stats and do suggestions.",
"main": "index.js",
"main": "pairingBot.js",
"bin": {
"pairing-bot": "bin/pairingBot.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node src/index.js"
"start": "node bin/pairingBot.js"
},
"repository": {
"type": "git",
Expand All @@ -22,7 +25,7 @@
"programming",
"slack"
],
"author": "Shaffi",
"author": "Mohammed Shaffi",
"license": "MIT",
"dependencies": {
"botkit": "^0.4.9",
Expand Down
262 changes: 0 additions & 262 deletions src/index.js

This file was deleted.

Loading

0 comments on commit d6095a1

Please sign in to comment.