fix: yarn is turned into npm

This commit is contained in:
Palash gupta
2022-05-19 13:24:46 +05:30
parent 4faaae98c9
commit bbb1077e30
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
cd frontend && yarn commitlint --edit $1
cd frontend && npm run commitlint
+2 -1
View File
@@ -15,7 +15,8 @@
"jest:coverage": "jest --coverage",
"jest:watch": "jest --watch",
"postinstall": "yarn husky:configure",
"husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*"
"husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*",
"commitlint": "commitlint --edit $1"
},
"engines": {
"node": ">=12.13.0"