mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 13:21:45 +01:00
chore: add husky hooks
This commit is contained in:
parent
c7cf78fc4b
commit
ca1a808700
6
.husky/pre-commit
Executable file
6
.husky/pre-commit
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npm run lint
|
||||
npm run build:check
|
||||
npm run test:unit
|
@ -48,7 +48,8 @@
|
||||
"docker:integration:run": "docker compose -f ./test/integration/docker-compose.yml run --rm tests",
|
||||
"docker:test:integration": "npm run docker:integration:run -- npm run test:integration",
|
||||
"docker:cover:integration": "npm run docker:integration:run -- npm run cover:integration",
|
||||
"postdocker:integration:run": "docker compose -f ./test/integration/docker-compose.yml down"
|
||||
"postdocker:integration:run": "docker compose -f ./test/integration/docker-compose.yml down",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
x
Reference in New Issue
Block a user