Skip to content

Building and Testing 3DuF

Aaron Heuckroth edited this page Jul 25, 2015 · 23 revisions

Node and npm: Download and install

Install dependencies first

From the application's root folder (the one with package.json in it), run: npm install

Compiling (from anywhere within the application directory)

To compile and bundle the main app script (3DuFapp.js), run: npm run compile.

To watch the source code and re-compile on changes, run: npm run watch_compile

Testing (from anywhere within the application directory)

To run the full suite of unit tests, run: npm test

To watch the source code and re-run tests on changes, run: npm run watch_test

To check test coverage, run: npm run cover, and then open coverage/lcov-report/index.html in a web browser.

Clone this wiki locally