Added license exporter

This commit is contained in:
2023-04-19 10:11:37 +02:00
parent 39fc381343
commit 28b45f8768
2 changed files with 60 additions and 2 deletions

View File

@@ -10,9 +10,11 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"release": "release-it"
"release": "release-it",
"license:export": "license-exporter --markdown && git stage licenses.md"
},
"devDependencies": {
"@odit/license-exporter": "^0.0.12",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
@@ -54,7 +56,7 @@
"publish": false
},
"hooks": {
"after:bump": "pnpx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md"
"after:bump": "pnpx auto-changelog --commit-limit false -p -u --hide-credit && pnpm licenses:export && git add CHANGELOG.md licenses.md"
}
},
"volta": {