@ng-vim/devtools

1.1.0 • Public • Published

@ng-vim/devtools

A schematic to integrate husky, prettier and commit-lint in your angular application

NPM Version Monthly download on NPM

🌟 Install

$ ng add @ng-vim/devtools

Running above schematics in your angular application will integrate below functionality.

  1. Auto format your staged files before commiting using prettier configuration
  2. Make sure your commit messages are per commitlint standard.

After this whenever you will try to perform any git actions like git commit and git push, husky command will be executed for the respective commands.

Troubleshoot

If you are using Linux/Max operating system you need to give execution permission to .husky and .git/hooks folder.

chmod ug+x .husky/*
chmod ug+x .git/hooks/*

Husky Documentation

https://typicode.github.io/husky

License

The MIT License (MIT)

Package Sidebar

Install

npm i @ng-vim/devtools

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

13.5 kB

Total Files

27

Last publish

Collaborators

  • vimalpatel