by 3IE
git clone https://github.com/3IE/angular-ngrx-material-starter.git new-project
cd new-project
npm install
npm start-
npm start- starts a dev server and opens browser with running app -
npm run start:prod- runs full prod build and serves prod bundle -
npm run test- runs lint and tests -
npm run watch- runs tests in watch mode -
npm run prettier- runs prettier to format whole code base (.tsand.scss) -
npm run analyze- runs full prod build andwebpack-bundle-analyzerto visualize how much code is shipped (dependencies & application) -
init-project <newProjectName>- To rename all stuff that as to be renamed -
new-da <name>- To create a new business and a new data-access -
new-page <name>- To create a new page -
new-pipe <name>- To create a new pipe -
new-service <name>- To create a new service -
new-component <name>- To create a new component (except modals and pages) -
new-model <name>- To create a new modal -
new-modal <name>- To create a new modal
Starter project is using Travis CI for running linters and tests on every commit. Based on your preferences and needs you can either:
- not use / use other CI server and delete both
.travis.ymland.travis-deploy.sh - create Travis CI account and link it to your projects Github repo and configure build
with
GH_REFandGH_TOKENenvironment variables for automatic deployment of releases to Github Pages
- Angular
- ngrx (or try ngx-model if you prefer less boilerplate)
- Angular Material
- Bootstrap 4 (only reset, utils and grids)