1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00

chore: Fix husky config

This commit is contained in:
ivaosthu 2018-11-22 09:03:36 +01:00 committed by Ivar Conradi Østhus
parent 9c7b429032
commit 0925136bfb

View File

@ -46,8 +46,7 @@
"test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai",
"test:pg-virtualenv-chain": "export TEST_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; npm run db-migrate-testdb && npm test",
"test:coverage": "nyc npm run test",
"test:coverage-report": "nyc report --reporter=text-lcov | coveralls",
"precommit": "lint-staged"
"test:coverage-report": "nyc report --reporter=text-lcov | coveralls"
},
"nyc": {
"all": true,
@ -109,5 +108,10 @@
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}