1.1.0 • Published 10 years ago

generator-bespokeplugin v1.1.0

Weekly downloads
5
License
-
Repository
github
Last release
10 years ago

Build Status

Bespoke.js Plugin Generator

A generator for Yeoman that scaffolds a Bespoke.js plugin.

The boilerplate plugin includes a Gulp build system with Browserify, JSHint, Karma, Istanbul, Travis CI and Coveralls preconfigured.

Usage

Assuming you have Node.js, install generator-bespokeplugin:

$ npm install -g generator-bespokeplugin

Make a new directory and cd into it:

$ mkdir bespoke-myplugin
$ cd bespoke-myplugin

Scaffold a new presentation:

$ yo bespokeplugin

Plugin workflow

All source files for the plugin reside in the lib directory.

Jasmine specs reside in the test/spec directory.

Distributable versions of your plugin are generated in the dist directory by the following gulp tasks:

Gulp tasks

Lint, test, and compile the project:

$ gulp

Lint and test your plugin whenever source files change:

$ gulp dev

Publish to npm

$ npm publish

Register with Bower

Register plugin with Bower:

$ bower register <my-plugin-name> <git-endpoint>

Bower uses Git tags for versioning.

To publish an update, first modify the version number in bower.json, then tag a new version and push to origin:

$ git add .
$ git commit -m "Bump to vX.X.X"
$ git tag -a vX.X.X -m "vX.X.X"
$ git push --tags origin master

License

MIT License

1.1.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

1.0.0-beta.3

10 years ago

1.0.0-beta.2

10 years ago

1.0.0-beta

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago