https://github.com/hubot-archive/hubot-ttc-alerts
https://github.com/hubot-archive/hubot-ttc-alerts
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hubot-archive/hubot-ttc-alerts
- Owner: hubot-archive
- License: mit
- Created: 2014-06-26T20:46:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-27T14:40:46.000Z (almost 11 years ago)
- Last Synced: 2025-03-24T15:21:52.734Z (3 months ago)
- Language: CoffeeScript
- Size: 125 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hubot TTC transit alerts
hubot script to display TTC (Toronto transit) alerts
## Installation
### Update the files to include the hubot-ttc-alerts module:
#### 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.
## Commands
```javascript
hubot ttc me
```## Directory Structure
Using the common directory structure for hubot script packages it will be easy
to manage and allow others to easily contribute to your package.### script
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.### src
This directory is home to the actual hubot scripts in the package. Your
`index.coffee` entry point will load the scripts from this directory.### test
This directory is home to any tests you write for your scripts. This example
package uses Mocha, Chai and Sinon to manage writing tests.