chore: add husky; add post-commit hook & auto import to gh & sh

This commit is contained in:
Ayo Ayco 2026-02-22 18:42:45 +01:00
parent f34ee61c18
commit 622a17e0c4
4 changed files with 51 additions and 4 deletions

10
.gitignore vendored
View file

@ -5,9 +5,11 @@
__pycache__
*.spec
build/
dist/
outputs/
inputs/
build
dist
outputs
inputs
env.sh
node_modules

3
.husky/post-commit Normal file
View file

@ -0,0 +1,3 @@
echo "post-commit..."
git push gh --mirror
git push sh --mirror

18
package.json Normal file
View file

@ -0,0 +1,18 @@
{
"name": "simple-tts",
"private": "true",
"version": "1.0.0",
"description": "Machine learning text-to-speech for your terminal. Hear text read aloud by realistic voices, from a file or your clipboard.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.15.0",
"devDependencies": {
"husky": "^9.1.7"
}
}

24
pnpm-lock.yaml Normal file
View file

@ -0,0 +1,24 @@
lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
husky:
specifier: ^9.1.7
version: 9.1.7
packages:
husky@9.1.7:
resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==}
engines: {node: '>=18'}
hasBin: true
snapshots:
husky@9.1.7: {}