Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 607 Bytes

SETUP.md

File metadata and controls

29 lines (19 loc) · 607 Bytes

Getting started

These instructions are for setting up your development environment to build Consistent.js.

I use the Homebrew package manager to install npm, the Node package manager. You can get npm installed however you prefer. We will then use npm to install any other dependencies.

Testing

brew install npm
npm -g install karma
npm -g install karma-safari-launcher

You can now run make test to test Consistent.js.

Linting

npm -g install jshint

Packaging

We use Uglify to munge and combine the source files.

npm -g install uglify-js