This project was generated with Angular CLI version 8.0.3.
npm install
npm start
- An empty window will pop up while Webpack warm ups
- Once Webpack is running, refresh the window and you're golden
npm run build:clean
will delete your./dist
and/dist-ng
foldersnpm run build:ng
will build just your Angular app for distribution (./dist-ng
)npm run build:nw
will build just your NW.js app (./dist
)npm run build
is your all-in-one command. It will clean out the old dist folders and build your Angular and NW.js app
They take a long time. If you do npm run build
expect it to take 10-15 minutes. This can be adjusted by changing the build params in the package.json
. The more platforms and build types, the longer it takes.
- Linting:
npm run lint
- tslint.json - Unit tests:
npm test
- Karma. - End-to-end:
npm run e2e
- Accepting PR to fix these tests. - Protractor.
npm run generate -- component component-name
to generate a new component.npm run generate -- directive directive-name
to generate a new directive.npm run generate -- pipe pipe-name
to generate a new pipe.npm run generate -- service service-name
to generate a new service.npm run generate -- class class-name
to generate a new class.npm run generate -- guard guard-name
to generate a new guard.npm run generate -- interface interface-name
to generate a new interface.npm run generate -- enum enum-name
to generate a new enum.npm run generate -- module module-name
to generate a new module.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.