angular jest starter

Angular Starter with Jest, Prettier, State management Ngxs.

17
4
HTML

Angular Jest Starter

This project was generated with Angular CLI version 11.0.3.

Installation

git clone https://github.com/hoangtranson/angular-jest-starter.git
cd angular-jest-starter
npm i

Features

  • [x] Angular 11
  • [x] Jest
  • [x] Ngxs State Management
  • [x] Prettier
  • [x] ESLint
  • [ ] i18n
  • [ ] Sample Admin Page

Angular 11

run npm run start to start project.

npm run start

Unit Test with Jest

Run unit test with command npm run test

jest sample

State Management

This starter project is using Ngxs as state management.

state management

Prettier

Run npm run prettier:check to check files that not have good format.

prettier check

Run npm run prettier:fix to format all files that not have good format that we see at npm run prettier:check.

prettier fix

Eslint

Run npm run lint.

eslint