Skip to content

mzgoddard/boxart

 
 

Repository files navigation

boxart Build Status

Tools for building html games with React. Depended on by and documented at boxart/boxart-boiler.

Local Development

To work on boxart locally, you must have Node installed on your computer. After cloning this repository, run npm install (from the command prompt or terminal) to download boxart's package dependencies.

To run the boxart unit test suite, use the npm test command; or (if Grunt is globally installed on your computer) run grunt test-dev.

Development Commands

Note: these test commands assume the Firefox web browser is installed on your development system.

npm run test-dev

npm test-dev boots a test server with Karma to automatically re-run tests in a captured Firefox browser instance whenever changes are made to the source code or tests.

npm test

npm test runs the test suite once in a captured Firefox browser instance and then exits.

grunt babel

grunt babel will run babel to create a lib directory of ES5 code compiled from this repository's ES2016 src directory.

grunt watch

grunt watch (or grunt watch:babel) will automatically re-run grunt babel whenever files in src change; this is useful if you have used npm link to include a local copy of boxart in your application for development purposes.

grunt publish

grunt publish transpiles boxart's es2015 code to es5 and publishes boxart and its subpackages (e.g. boxart-stage) to npm.

About

A JavaScript library providing a set of tools for building Games written with DOM and React.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%