fix: yarn is turned into npm

This commit is contained in:
Palash gupta 2022-05-19 13:24:46 +05:30
parent cc978153f9
commit ceb59e8bb5
No known key found for this signature in database
GPG Key ID: 8FD05AE6F9150AD6
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
. "$(dirname "$0")/_/husky.sh" . "$(dirname "$0")/_/husky.sh"
cd frontend && yarn commitlint --edit $1 cd frontend && npm run commitlint

View File

@ -15,7 +15,8 @@
"jest:coverage": "jest --coverage", "jest:coverage": "jest --coverage",
"jest:watch": "jest --watch", "jest:watch": "jest --watch",
"postinstall": "yarn husky:configure", "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": { "engines": {
"node": ">=12.13.0" "node": ">=12.13.0"