mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
chore: add commit hooks
This commit is contained in:
3
.commitlintrc.js
Normal file
3
.commitlintrc.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
}
|
||||
14
package.json
14
package.json
@@ -12,6 +12,16 @@
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/qlik-trial/nebula.js.git"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS && lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js, jsx}": [
|
||||
"eslint"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@after-work.js/aw": "^5.1.3",
|
||||
"@babel/cli": "^7.2.3",
|
||||
@@ -19,6 +29,8 @@
|
||||
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
||||
"@babel/preset-env": "^7.3.1",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@commitlint/cli": "^7.4.0",
|
||||
"@commitlint/config-conventional": "^7.3.1",
|
||||
"babel-plugin-istanbul": "^5.1.0",
|
||||
"cross-env": "^5.2.0",
|
||||
"eslint": "^5.12.1",
|
||||
@@ -27,7 +39,9 @@
|
||||
"eslint-plugin-jsx-a11y": "^6.2.0",
|
||||
"eslint-plugin-mocha": "^5.2.1",
|
||||
"eslint-plugin-react": "^7.12.4",
|
||||
"husky": "^1.3.1",
|
||||
"lerna": "^3.10.7",
|
||||
"lint-staged": "^8.1.1",
|
||||
"rollup": "^1.1.2",
|
||||
"rollup-plugin-babel": "^4.3.2",
|
||||
"rollup-plugin-commonjs": "^9.2.0",
|
||||
|
||||
Reference in New Issue
Block a user