Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2019-08-21 13:11:51 +0300
committersualko <klaus@jsxc.org>2019-08-21 13:11:51 +0300
commit1d69c8c5ef9d8f1a153d71ca5db352e2cdf4cd9a (patch)
tree89ee8f5391161643260736cbe5aead96e7cb8e6b /package.json
parentc4b296e3432f0cece6451a67b6dc95172ce95392 (diff)
chore: add commitlint
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index eda4f7f..3f0b1ad 100644
--- a/package.json
+++ b/package.json
@@ -19,10 +19,14 @@
},
"husky": {
"hooks": {
- "pre-commit": "vendor/bin/php-cs-fixer fix --dry-run && vendor/bin/phpunit -c phpunit.xml"
+ "pre-commit": "vendor/bin/php-cs-fixer fix --dry-run && vendor/bin/phpunit -c phpunit.xml",
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS "
}
},
"devDependencies": {
+ "@commitlint/cli": "^8.1.0",
+ "@commitlint/config-conventional": "^8.1.0",
+ "@commitlint/travis-cli": "^8.1.0",
"@types/jquery": "^3.3.6",
"archiver": "^3.0.0",
"clean-webpack-plugin": "^0.1.19",