1.0.1 • Published 5 years ago

generator-poc-boilerplate-generator v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

generator-poc-boilerplate-generator

A simple generator to create packages with Typescript

Features

  • Pre hooks task script for commits (prettier)
  • Pre hooks task script for pushs (run all tests)
  • Prettier
  • Jest test framework
  • Linting
  • Gitlab integration
  • Gitlab file validator
  • Semantic release

Install

Be sure you have Yeoman installed

npm install -g yo

npm install -g generator-poc-boilerplate-generator

yo # select the generator and follow the instructions

Commands

npm run build # it compiles the project

npm test # it runs jest with watchAll enabled

npm test:local # it allows you to test the generator locally

npm run test:coverage # it runs jest and get coverage report

npm run test:tslint # it runs linter task

npm run test:formatting # it validates the format

npm run test:all # it runs all tests