Skip to content

Commit

Permalink
Merge pull request #33 from hubotio/javascript
Browse files Browse the repository at this point in the history
JavaScript
  • Loading branch information
gr2m committed Jun 29, 2017
2 parents 2b0b461 + edd1622 commit 2187430
Show file tree
Hide file tree
Showing 19 changed files with 255 additions and 527 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.nyc_output/
coverage/
node_modules
6 changes: 0 additions & 6 deletions .istanbul.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .npmignore

This file was deleted.

20 changes: 13 additions & 7 deletions .travis.yml
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+$/
18 changes: 0 additions & 18 deletions CHANGELOG.md

This file was deleted.

41 changes: 0 additions & 41 deletions Gruntfile.js

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
Hubot Help Plugin
==================

[![Version](https://img.shields.io/npm/v/hubot-help.svg)](https://www.npmjs.com/package/hubot-help)
[![Build Status](https://img.shields.io/travis/hubotio/hubot-help.svg)](https://travis-ci.org/hubotio/hubot-help)
[![Build Status](https://travis-ci.org/hubotio/hubot-help.svg?branch=master)](https://travis-ci.org/hubotio/hubot-help) [![Coverage Status](https://coveralls.io/repos/github/hubotio/hubot-help/badge.svg?branch=master)](https://coveralls.io/github/hubotio/hubot-help?branch=master)

A hubot script to show available hubot commands

Expand Down
12 changes: 0 additions & 12 deletions coffee-coverage.js

This file was deleted.

129 changes: 0 additions & 129 deletions coffeelint.json

This file was deleted.

12 changes: 0 additions & 12 deletions index.coffee

This file was deleted.

8 changes: 8 additions & 0 deletions index.js
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')
}
54 changes: 33 additions & 21 deletions package.json
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 <josh@technicalpickles.com>",
"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"
]
}
18 changes: 0 additions & 18 deletions script/bootstrap

This file was deleted.

6 changes: 0 additions & 6 deletions script/test

This file was deleted.

Loading

0 comments on commit 2187430

Please sign in to comment.