komga/package.json
2020-12-31 12:41:10 +08:00

60 lines
1.4 KiB
JSON

{
"dependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"semantic-release": "^17.3.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"commitlint": "^11.0.0",
"husky": "^4.3.6"
},
"husky": {
"hooks": {
"pre-commit": "npm run --prefix komga-webui lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
"prepareCmd": "ci/prepare-release.sh ${nextRelease.version} ${nextRelease.channel}",
"publishCmd": "ci/publish-dockerhub.sh ${nextRelease.version} ${nextRelease.channel}"
}
],
[
"@semantic-release/git",
{
"assets": [
"gradle.properties",
"CHANGELOG.md",
"komga/docs/openapi.json"
]
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "komga/build/libs/*.jar"
}
]
}
]
]
}
}