chore: initial commit
This commit is contained in:
14
.husky/install.mts
Normal file
14
.husky/install.mts
Normal file
@@ -0,0 +1,14 @@
|
||||
if (
|
||||
process.env.NODE_ENV === 'production' ||
|
||||
process.env.CI === 'true' ||
|
||||
process.env.BUILD === 'true' ||
|
||||
process.env.SKIP_HUSKY === 'true'
|
||||
) {
|
||||
console.log(
|
||||
'Skipping husky install. If you are in a CI, Building or Production environment you can safely ignore this.'
|
||||
)
|
||||
process.exit(0)
|
||||
}
|
||||
const husky = (await import('husky')).default
|
||||
|
||||
console.log(husky())
|
||||
Reference in New Issue
Block a user