README
Typescript package 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-ts-package-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