scaffold-angular
v0.0.15
Published
A comprehensive package that sets up a complete Angular application development environment including ESLint, Prettier, Stylelint, Husky, and Lint-Staged for linting, code formatting, and standardized code quality.
Maintainers
Readme
Scaffold Angular
The package will save you time when starting a new project on Angular. It sets up a working environment with all the tools every project needs such as ESLint, Stylelint, Git hooks, Prettier.
These ensure smooth development by providing guard rails for code style. Save hours of arguing during pull request reviews, spending hours teaching the code standards to the new team members. Automated tooling will take care of it for you.
Strict rules are applied and can be changed later when the app was scaffolded to fulfill the needs of the team.
Prerequisites
Node.js ^20.19.0 || ^22.12.0 || ^24.0.0 (aligned with Angular 21 requirements)
Using the package
npx scaffold-angular my-appOptions
npx scaffold-angular --help # Show all available options
npx scaffold-angular --version # Show version number
npx scaffold-angular my-app --style css # Use CSS instead of SCSSAvailable style options: scss (default), css, less, sass
Tooling provided by the package
Currently, the script only supports scaffolding new Angular projects with all tooling listed below enabled and configured
- ESLint – runs linting rules over ts/html files (@epam/eslint-config-angular)
- Stylelint – runs linting rules over scss files
- Prettier - formats all files
- SVGO - minifies svg images (if run twice in a row could produce two different code results which look identically)
- Jest - testing framework with jest-preset-angular
- Storybook - component documentation and development
- Lefthook - git hooks management tool
