chore: Add postinstall for husky install (#578)

This commit is contained in:
Shohei Ueda 2021-03-06 23:13:46 +09:00 committed by GitHub
parent 0a4c122ea4
commit a0db9b66be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
"npm": ">=7.5.2" "npm": ">=7.5.2"
}, },
"scripts": { "scripts": {
"postinstall": "npx husky install",
"all": "npm run format && npm run lint && npm test", "all": "npm run format && npm run lint && npm test",
"lint": "eslint ./{src,__tests__}/**/*.ts", "lint": "eslint ./{src,__tests__}/**/*.ts",
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts", "lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",