generator-ng-template

0.3.8 • Public • Published

generator-ng-template

A custom Angular base project template

Since every time I want to start a new Angular project I spend a lot of time configuring the project I created this Yeoman generator.

The generated project has the following differences from the angular-cli one:

  • jest instead of karma
  • eslint and prettier instead of ts-lint
  • ngx-translate is already installed, configured and with a working example in the AppComponent
  • Angular Material is installed and a custom theme is configured

The generator will ask you input to use in the codebase like the author name and the selector for the Angular components.

Installation

First, install Yeoman and generator-ng-template using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-ng-template

Then generate your new project:

yo ng-template

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Yiyi Chen

Package Sidebar

Install

npm i generator-ng-template

Weekly Downloads

2

Version

0.3.8

License

MIT

Unpacked Size

2.47 MB

Total Files

311

Last publish

Collaborators

  • y_chen