From 0622767fb2eae5ab3498152162fd85a7714c64a4 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Tue, 9 Mar 2021 23:09:41 +0900 Subject: [PATCH] chore: Add postinstall for husky install --- .husky/.gitignore | 1 + .husky/post-merge | 0 .husky/pre-commit | 0 package.json | 1 + 4 files changed, 2 insertions(+) create mode 100644 .husky/.gitignore mode change 100644 => 100755 .husky/post-merge mode change 100644 => 100755 .husky/pre-commit 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",