Add husky
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm run healthy-check
|
||||
npm run increase-version
|
||||
git add package.json
|
||||
+10
-2
@@ -1,10 +1,18 @@
|
||||
{
|
||||
"name": "mlModelSaver",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "Make life easier for save and serving ml models",
|
||||
"main": "index.js",
|
||||
"repository": "git@github.com:smartdev-ca/mlModelSaver.git",
|
||||
"author": "Jason Jafari <me@jasonjafari.com>",
|
||||
"license": "MIT",
|
||||
"private": false
|
||||
"private": false,
|
||||
"dependencies": {
|
||||
"husky": "^9.0.11"
|
||||
},
|
||||
"scripts": {
|
||||
"increase-version": "npm --force --no-git-tag-version version patch",
|
||||
"healthy-check": "ls -la",
|
||||
"prepare": "husky install"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,3 +2,7 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
husky@^9.0.11:
|
||||
version "9.0.11"
|
||||
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9"
|
||||
integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==
|
||||
|
||||
Reference in New Issue
Block a user