-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from hubotio/javascript
JavaScript
- Loading branch information
Showing
19 changed files
with
255 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
.nyc_output/ | ||
coverage/ | ||
node_modules |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
language: node_js | ||
node_js: | ||
- "node" # latest stable Node.js release | ||
- "6" | ||
- "4" | ||
- "0.12" | ||
- "0.10" | ||
sudo: false | ||
notifications: | ||
email: false | ||
sudo: false | ||
node_js: | ||
- "8" # latest stable | ||
- "6" # LTS | ||
- "4" # maintenance | ||
before_script: | ||
- npm prune | ||
after_success: | ||
- npm run coverage | ||
- npm run semantic-release | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
'use strict' | ||
|
||
const path = require('path') | ||
|
||
module.exports = (robot) => { | ||
const scriptsPath = path.resolve(__dirname, 'src') | ||
robot.loadFile(scriptsPath, 'help.js') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,56 @@ | ||
{ | ||
"name": "hubot-help", | ||
"description": "A hubot script to show available hubot commands", | ||
"version": "0.2.2", | ||
"version": "0.0.0-development", | ||
"publishConfig": { | ||
"tag": "next" | ||
}, | ||
"author": "Josh Nichols <[email protected]>", | ||
"license": "MIT", | ||
"keywords": [ | ||
"hubot", | ||
"hubot-scripts" | ||
], | ||
"engines": { | ||
"node": "> 4.0.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/hubot-scripts/hubot-help.git" | ||
"url": "https://github.com/hubotio/hubot-help.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/hubot-scripts/hubot-help/issues" | ||
"url": "https://github.com/hubotio/hubot-help/issues" | ||
}, | ||
"peerDependencies": { | ||
"hubot": ">=2 <10 || 0.0.0-development", | ||
"coffee-script": "^1.12.6" | ||
}, | ||
"devDependencies": { | ||
"chai": "~3.5.0", | ||
"coffee-coverage": "~1.0.1", | ||
"coffee-script": "^1.12.6", | ||
"coffeelint": "^1.16.0", | ||
"grunt": "~1.0.1", | ||
"grunt-contrib-watch": "~1.0.0", | ||
"grunt-mocha-test": "~0.7.0", | ||
"grunt-release": "~0.14.0", | ||
"hubot": "2.x", | ||
"hubot-mock-adapter": "~1.0.0", | ||
"istanbul": "~0.4.5", | ||
"matchdep": "~0.1.2", | ||
"mocha": "~3.0.2", | ||
"sinon": "~1.4.2", | ||
"sinon-chai": "~2.8.0" | ||
"chai": "^3.5.0", | ||
"coveralls": "^2.13.1", | ||
"grunt": "^1.0.1", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-mocha-test": "^0.7.0", | ||
"grunt-release": "^0.14.0", | ||
"hubot": "^3.0.0", | ||
"hubot-mock-adapter-v3": "^1.0.0", | ||
"matchdep": "^0.1.2", | ||
"mocha": "^3.0.2", | ||
"nyc": "^11.0.3", | ||
"sinon": "^1.4.2", | ||
"sinon-chai": "^2.8.0", | ||
"standard": "^10.0.2", | ||
"semantic-release": "^6.3.6" | ||
}, | ||
"main": "index.coffee", | ||
"scripts": { | ||
"test": "mocha", | ||
"posttest": "coffeelint **/*.coffee index.coffee && istanbul report text-summary lcov" | ||
} | ||
"pretest": "standard", | ||
"test": "nyc --reporter=html --reporter=text mocha", | ||
"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"src" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.