Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 505B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # husky
  2. > Modern native Git hooks made easy
  3. Husky improves your commits and more 🐶 *woof!*
  4. # Install
  5. ```
  6. npm install husky --save-dev
  7. ```
  8. # Usage
  9. Edit `package.json > prepare` script and run it once:
  10. ```sh
  11. npm set-script prepare "husky install"
  12. npm run prepare
  13. ```
  14. Add a hook:
  15. ```sh
  16. npx husky add .husky/pre-commit "npm test"
  17. git add .husky/pre-commit
  18. ```
  19. Make a commit:
  20. ```sh
  21. git commit -m "Keep calm and commit"
  22. # `npm test` will run
  23. ```
  24. # Documentation
  25. https://typicode.github.io/husky