diff --git a/package.json b/package.json index 211f1324..f0134de4 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,7 @@ "bugs": { "url": "https://github.com/bitflight-devops/github-action-readme-generator/issues" }, - "keywords": [ - "actions", - "github", - "node16", - "documentation", - "github-actions", - "generator" - ], + "keywords": ["actions", "github", "node16", "documentation", "github-actions", "generator"], "author": "Jamie Nelson ", "license": "APACHE", "scripts": { @@ -44,7 +37,7 @@ "release:post": "yarn npm publish --access public --tag v${npm_package_version} --tag latest", "postversion": "git push --tags origin && git push origin", "precommit": "pretty-quick --staged", - "prepare": "is-ci || husky install; yarn run build", + "prepare": "[[ -n ${GITHUB_ACTIONS:-} ]] || husky install", "corepack": "corepack enable", "cachefolder": "corepack yarn config get cacheFolder", "clean": "rimraf dist", @@ -73,39 +66,20 @@ "bin": "github-action-readme-generator" }, "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ], + "extends": ["@commitlint/config-conventional"], "rules": { - "body-max-length": [ - 0 - ], - "body-max-line-length": [ - 0 - ], - "footer-max-length": [ - 0 - ], - "footer-max-line-length": [ - 0 - ], - "header-max-length": [ - 0 - ] + "body-max-length": [0], + "body-max-line-length": [0], + "footer-max-length": [0], + "footer-max-line-length": [0], + "header-max-length": [0] } }, "engines": { "node": ">=14.0.0" }, - "files": [ - "package.json", - "README.md", - "/bin", - "/dist" - ], - "os": [ - "!win32" - ], + "files": ["package.json", "README.md", "/bin", "/dist"], + "os": ["!win32"], "dependencies": { "@actions/core": "^1.9.0", "@actions/github": "^5.0.3", @@ -221,9 +195,7 @@ "lint-staged": { "*.{md,json,yaml,yml,sh}": "prettier --write", "{src,__tests__}/**/*.js": "eslint --cache --fix", - "*.ts": [ - "eslint --cache --fix" - ] + "*.ts": ["eslint --cache --fix"] }, "resolutions": { "typescript": "^4.7.4"