JSPM

hubot-beat-time

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q13486F
  • License MIT

A hubot script to reply with the current time in beats

Package Exports

  • hubot-beat-time

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hubot-beat-time) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hubot Beats Build Status

A hubot script to reply with the time in .beats! Swatch Internet Time

Installation

Update Hubot's package.json to install hubot-beat-time from npm, and update Hubot's external-scripts.json file to include the hubot-beat-time module.

Update the files to include the hubot-beat-time module:

package.json

...
"dependencies": {
  ...
  "hubot-beat-time": ">= 1.0.0"
  ...
},
...

external-scripts.json

["hubot-awesome-module","hubot-beat-time"]

Run npm install to install hubot-beat-time and dependencies.

Practical Use

Use hubot help or check the beats.coffee file to get the full list of options with short descriptions.

Commands

hubot beat time

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.