/tree

Test assignment. Simple tree with UI using React and immutable data.

Primary LanguageJavaScript

Test assignment

Installation:

Clone this repository

Change into repository root directory

npm install && npm run build

Run:

Open www/index.html in browser

Run tests:

npm test

Development:

JS source code is inside directory src/ with an entry point src/js/application/bootstrap.js

JS code is built using Webpack as CommonJS builder and Gulp as a command runner. Code is separated into vendors and app bundles for faster rebuild when developing.

Build the JS code

npm build

For development - starts a LiveReload server and rebuilds files on change:

npm run build && npm run watch

Production build - minifies the end result:

npm run build-prod

Built CSS and JS is placed in www/compiled directory.