hubot script to display TTC (Toronto transit) alerts
npm install hubot-ttc-alertshubot script to display TTC (Toronto transit) alerts
#### package.json
...
"dependencies": {
...
"hubot-ttc-alerts": ">= 1.0.0"
...
},
...
#### external-scripts.json
[...,"hubot-ttc-alerts"]
Run npm install to install hubot-ttc-alerts and dependencies.
``javascript`
hubot ttc me
Using the common directory structure for hubot script packages it will be easy
to manage and allow others to easily contribute to your package.
This directory is home to a couple of development scripts; bootstrap and test
they're used to bootstrap the development environment and run tests
respectively.
This directory is home to the actual hubot scripts in the package. Your
index.coffee` entry point will load the scripts from this directory.
This directory is home to any tests you write for your scripts. This example
package uses Mocha, Chai and Sinon to manage writing tests.