/angular-jest-starter

Angular Starter with Jest, Prettier, State management Ngxs.

Primary LanguageHTMLMIT LicenseMIT

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

  • Angular 11
  • Jest
  • Ngxs State Management
  • Prettier
  • 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