chore
This commit is contained in:
parent
027c4688e5
commit
254b14a2a5
31
.husky/_/husky.sh
Normal file
31
.husky/_/husky.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
if [ -z "$husky_skip_init" ]; then
|
||||
debug () {
|
||||
if [ "$HUSKY_DEBUG" = "1" ]; then
|
||||
echo "husky (debug) - $1"
|
||||
fi
|
||||
}
|
||||
|
||||
readonly hook_name="$(basename "$0")"
|
||||
debug "starting $hook_name..."
|
||||
|
||||
if [ "$HUSKY" = "0" ]; then
|
||||
debug "HUSKY env variable is set to 0, skipping hook"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -f ~/.huskyrc ]; then
|
||||
debug "sourcing ~/.huskyrc"
|
||||
. ~/.huskyrc
|
||||
fi
|
||||
|
||||
export readonly husky_skip_init=1
|
||||
sh -e "$0" "$@"
|
||||
exitCode="$?"
|
||||
|
||||
if [ $exitCode != 0 ]; then
|
||||
echo "husky - $hook_name hook exited with code $exitCode (error)"
|
||||
fi
|
||||
|
||||
exit $exitCode
|
||||
fi
|
|
@ -20,12 +20,10 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@heroicons/react": "^1.0.5",
|
||||
"@next/bundle-analyzer": "^12.0.4",
|
||||
"bignumber.js": "^9.0.1",
|
||||
"cbor": "^8.1.0",
|
||||
"clsx": "^1.1.1",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dexie-react-hooks": "^1.0.7",
|
||||
"idb": "^7.0.0",
|
||||
"jsqr": "^1.4.0",
|
||||
"nanocurrency": "^2.5.0",
|
||||
|
@ -38,6 +36,7 @@
|
|||
"swr": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "^12.0.4",
|
||||
"@trivago/prettier-plugin-sort-imports": "^3.1.1",
|
||||
"@types/crypto-js": "^4.0.2",
|
||||
"@types/node": "^16.11.7",
|
||||
|
@ -55,9 +54,8 @@
|
|||
"lint-staged": "^12.0.2",
|
||||
"postcss": "^8.3.5",
|
||||
"prettier-eslint": "^13.0.0",
|
||||
"stylelint": "^14.1.0",
|
||||
"tailwindcss": "^2.2.4",
|
||||
"typescript": "^4.4.4"
|
||||
"tailwindcss": "^3.0.1",
|
||||
"typescript": "^4.5.3"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
|
Reference in a new issue