This project was generated with Angular CLI version 7.3.4.
Clone the project by using ssh git clone git@github.com:mrpharderwijk/ng-md-starter.git or https git clone https://github.com/mrpharderwijk/ng-md-starter.git. Then run npm install to install all dependencies. To run the application locally see below at the Development server section.
Run npm run serve:local for a dev server. Navigate to http://localhost:4203/. The app will automatically reload if you change any of the source files. Use npm run serve:prod for a check for prod build/server.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use npm run postinstall for a production build.
Run npm run test to execute the unit tests via Karma. Run npm run coverage after that to start the coverage server and check the reports by navigating to http://localhost:9875.
Run ng e2e to execute the end-to-end tests via Protractor.
Changes made in:
- added
./.prettierignore - added
./.prettierrc ./angular.json- added
stylePreprocessorOptionsrules for custom general scss files - added
local-build andlocal-serve rules
- added
./tslint.jsonrefers to a./custom-tslint.jsonfile with all the rules in it./src/styles.scssadded a reference to the custom general scss file (_main.scss)./package.json- added/adjusted in scripts
buildwith aot buildcoveragerun the test coverage serverpostinstallaot production buildprettyprettify all ts source filesserve:localaot local serve, running on port 4203serve:prodaot production serve, running on port 4203startruns the application with express.js from thedist-foldertestruns the tests with coverage and watch mode on
pre-commithooks addeddependenciesanddevDependenciesupdated
- added/adjusted in scripts