December 27, 2021 09:15 am GMT
Original Link: https://dev.to/wlucha/angular-13-starter-with-eslint-material-transloco-jest-testcafe-docker-prettier-56di
Angular 13 Starter with ESLint, Material, Transloco, Jest, TestCafe, Docker & Prettier
Angular 13 Starter with Material, Transloco, Jest, Compodoc, Docker Support, ESLint & Prettier
Project
You can find the project here:
https://github.com/wlucha/angular-starter
Features
Angular 13
Angular Material
Unit Testing with Jest
End-to-End Testing with TestCaf
Internationalization with Transloco
Auto documentation with Compodoc
Analyse your project with webpack-bundle-analyzer
Docker
ESLint
Prettier
Commit Linting
Demo
Install / Development
# Clone the project$ git clone https://github.com/wlucha/angular-starter$ cd angular-starter# Install dependencies$ npm install# Start server$ npm run start# Open in browser: http://localhost:4200
Docker Deployment
# Build Docker image$ docker build . -t angular-starter# Run Docker Container$ docker run -p 3000:80 angular-starter
Docker Hub
https://hub.docker.com/r/wlucha/angular-starter
Commands
npm run start
- start the appnpm run lint
- lint the projectnpm run test
- run unit testsnpm run build
- build the projectnpm run build:prod
- build the project in production modenpm run build:prod:stats
- build the project in product mode with statsnpm run analyse
- analyse bundle with webpack-bundle-analyzernpm run compodoc
- generate compodoc documentationnpm run changelog
- generate changelognpm run prettier
- format the whole project
Original Link: https://dev.to/wlucha/angular-13-starter-with-eslint-material-transloco-jest-testcafe-docker-prettier-56di
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To