diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 0000000..c9cdc63 --- /dev/null +++ b/.husky/.gitignore @@ -0,0 +1 @@ +_ \ No newline at end of file diff --git a/.husky/post-merge b/.husky/post-merge old mode 100644 new mode 100755 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/package.json b/package.json index 2600873..fb6d4ce 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "GitHub Actions for mdBook", "main": "lib/index.js", "scripts": { + "postinstall": "npx husky install", "lint": "eslint ./src/**/*.ts", "lint:fix": "eslint --fix ./src/**/*.ts", "test": "jest --coverage --verbose",