kontra
Version:
Kontra HTML5 game development library
29 lines (16 loc) • 1.49 kB
Markdown
[](https://badge.fury.io/gh/straker%2Fkontra)
[](https://travis-ci.org/straker/kontra)
[](https://coveralls.io/github/straker/kontra?branch=master)
A lightweight JavaScript gaming micro-library, optimized for js13kGames.
All the documentation can be found on the [github page](https://straker.github.io/kontra/).
To build the development code, run `npm run build`. To build the distribution version of the code, run `npm run dist`. Both should be built before submitting a pull request.
Please add unit and/or integration tests for all new changes. To run the tests, run `npm test`.
The documentation is built from the JSDoc comments in the source files using [LivingCSS](https://github.com/straker/livingcss) (I know, not what it was intended for but it makes it really easy to build multiple pages of docs. And it's highly configurable). To update the docs just modify the JSDoc comments.
The docs are built along with the development version of the code, so running `npm run build` will build the docs as well. This ensures they stay in sync with any changes to the code.
All doc related gulp tasks and `@tag` information can be found in the `doc-tasks.js` file.