This project was generated with Angular CLI version 1.2.6.
npm install -g @angular/cli
Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run npm run electron for a dev server. The app will automatically reload if you change any of the source files.
Run npm run play for a dev server. The electron app will automatically open and reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.
Then Run npm run build to build the app
Then Run npm run build-and-run to build and start the app
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve.
Package the app to distribution
npm run package
import * as moment from 'moment';
import _ from "lodash";
import * as numeral from 'numeral';
import * as d3 from 'd3';