Skip to content

Commit

Permalink
fix: add commitlint dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mukuljainx committed Oct 29, 2021
1 parent c117503 commit 0411281
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
npx commitlint --edit "$1"
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-typescript": "^7.8.3",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"commitlint": "^13.2.1",
"@rollup/plugin-alias": "^3.0.1",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-json": "^4.0.2",
Expand Down Expand Up @@ -72,9 +75,7 @@
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"brotli": "^1.3.2",
"chromatic": "^5.9.0",
"commitizen": "^4.2.4",
"concurrently": "^5.1.0",
"cz-conventional-changelog": "^3.3.0",
"dts-bundle-generator": "5.9.0",
"eslint": "^7.31.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
Expand Down Expand Up @@ -139,10 +140,5 @@
"npm run prettier",
"npm run lint"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

0 comments on commit 0411281

Please sign in to comment.