diff --git a/.husky/commit-msg b/.husky/commit-msg old mode 100644 new mode 100755 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/.husky/pre-push b/.husky/pre-push old mode 100644 new mode 100755 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 11cc993..80372bd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,6 +16,13 @@ cd bot-whatsapp yarn set version 3.3.0 yarn ``` +> __ATENCIÓN__ Si esta estas en ubuntu/linux ejecutar lo siguiente comandos adicionales. + +```sheell +npx husky install +chmod ug+x .husky/* +``` + __Commit y Push__ El proyecto tiene implementado __[husky](https://typicode.github.io/husky/#/)__ es una herramienta que dispara unas acciones al momento de hacer commit y hacer push diff --git a/package.json b/package.json index d820490..d7b6bba 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "cli": "node ./packages/cli/bin/cli.js", "dev:debug": "node --inspect ./example-app/app.js", "dev": "node ./example-app/app.js", - "postinstall": "npx husky install", + "prepare": "npx husky install", "preinstall": "npx only-allow yarn", "release": "standard-version" },