add husky

This commit is contained in:
Peter Maquiran
2022-12-28 13:58:29 +01:00
parent f39eb0d198
commit 78a509c45d
2 changed files with 22 additions and 1 deletions
+20
View File
@@ -129,6 +129,7 @@
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"howler": "^2.2.3", "howler": "^2.2.3",
"http-server": "^14.1.1", "http-server": "^14.1.1",
"husky": "^8.0.2",
"i": "^0.3.7", "i": "^0.3.7",
"ionic-angular": "^3.9.10", "ionic-angular": "^3.9.10",
"ionic-image-loader": "^6.3.3", "ionic-image-loader": "^6.3.3",
@@ -14247,6 +14248,20 @@
"ms": "^2.0.0" "ms": "^2.0.0"
} }
}, },
"node_modules/husky": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/husky/-/husky-8.0.2.tgz",
"integrity": "sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==",
"bin": {
"husky": "lib/bin.js"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/typicode"
}
},
"node_modules/i": { "node_modules/i": {
"version": "0.3.7", "version": "0.3.7",
"engines": { "engines": {
@@ -47367,6 +47382,11 @@
"ms": "^2.0.0" "ms": "^2.0.0"
} }
}, },
"husky": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/husky/-/husky-8.0.2.tgz",
"integrity": "sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg=="
},
"i": { "i": {
"version": "0.3.7" "version": "0.3.7"
}, },
+2 -1
View File
@@ -138,6 +138,7 @@
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"howler": "^2.2.3", "howler": "^2.2.3",
"http-server": "^14.1.1", "http-server": "^14.1.1",
"husky": "^8.0.2",
"i": "^0.3.7", "i": "^0.3.7",
"ionic-angular": "^3.9.10", "ionic-angular": "^3.9.10",
"ionic-image-loader": "^6.3.3", "ionic-image-loader": "^6.3.3",
@@ -284,7 +285,7 @@
"applypatch-msg": "", "applypatch-msg": "",
"pre-applypatch": "", "pre-applypatch": "",
"post-applypatch": "", "post-applypatch": "",
"pre-commit": "prettier --write . && git add -A ." "pre-commit": "node ./version/git-version.js"
} }
} }
} }