/poc-kpi

Primary LanguageJavaScript

poc-kpi

Proof Of Concept for the Kpi Zone.

Local dependencies

install the local dependencies :

$ npm install

Watch For Changes

$ npm start

This will perform an initial build and start a watcher process that will update bundle.js with any changes you wish to make. This watcher is based on Browserify and Watchify, and it transforms React's JSX syntax into standard JavaScript with Reactify.

To run the app, spin up an HTTP server and visit http://localhost/... Or simply open the index.html file in a browser.

Build

$ npm run-script build

This will perform an production build. This build phase is based on Browserify, Reactify, Envify and Uglify. It transforms React's JSX syntax into standard JavaScript with Reactify, selectively replace Node-style environment variables with plain strings, And finaly uglify the js code.