Skip to content

SamuelHerrera/window-app

Repository files navigation

WindowApp

This project was generated with Angular CLI version 1.2.6.

npm install -g @angular/cli

Development server

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.

Start electron

Run npm run electron for a dev server. The app will automatically reload if you change any of the source files.

Start development server and electron

Run npm run play for a dev server. The electron app will automatically open and reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Build

Then Run npm run build to build the app

Build for distribution test

Then Run npm run build-and-run to build and start the app

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

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

Package the app to distribution

npm run package

Additional data

import * as moment from 'moment'; import _ from "lodash"; import * as numeral from 'numeral'; import * as d3 from 'd3';