Husky pre-commit hooks 🐶 #8

Merged
philipp merged 5 commits from dev into main 2021-03-19 16:41:30 +00:00
3 changed files with 5009 additions and 2 deletions
Showing only changes of commit 0296c26479 - Show all commits

View File

@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn format
yarn format
yarn license:export

5004
licenses.md Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,9 +5,11 @@
"dev": "vite",
"build": "vite build",
"format": "prettier --write --plugin-search-dir=. ./**/*.html ./**/*.svelte",
"prepare": "husky install"
"prepare": "husky install",
"license:export": "license-exporter --markdown && git stage licenses.md"
},
"devDependencies": {
"@odit/license-exporter": "^0.0.11",
"@svitejs/vite-plugin-svelte": "^0.11.1",
"@tsconfig/svelte": "^1.0.10",
"@types/html-minifier": "^4.0.0",