Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 3 KB

README.md

File metadata and controls

63 lines (43 loc) · 3 KB

javascript-sdk-boilerplate Build Status

A boilerplate code template for creating a generic javascript sdk. Check out the demo.

1. Installation

You will need to have nodejs isntalled.

Clone the repository or download the zip. Or you can use the existing yeoman generator:

  • npm install -g generator-javascript-sdk-boilerplate
  • yo javascript-sdk-boilerplate

2. Getting started

  • open the command line and switch into the project folder
  • npm install
  • sudo npm install -g gulp
  • gulp to see the list of available tasks

3. Essential Gulp Tasks

  • gulp build dumps a plain and a minified file from all files in the folder src into the folder dist.
  • gulp clean removes all files in the folder dist.
  • gulp test runs the tests and linting for all files in the folder src.
  • gulp bump-patch increases the version by 0.0.1 for the last git commit and pushes the new tag to the remote repository.
  • gulp bump-minor increases the version by 0.1.0 for the last git commit and pushes the new tag to the remote repository.
  • gulp bump-major increases the version by 1.0.0 for the last git commit and pushes the new tag to the remote repository.

Web References

Tutorials to build a SDK

How others do it:

Final usage examples

Helpful sites

To support this project, please consider to donate.

This software is published under the MIT-License. See 'license' for more information.