Skip to content

Commit

Permalink
Added is-ci package to suppress husky in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
FloRad committed Oct 11, 2023
1 parent a02406b commit 76cfdf2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 71 deletions.
98 changes: 28 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"eslint:report": "eslint --output-file eslint_report.json --format json --ext .d.ts,.test-d.ts .",
"test": "tsd",
"typecheck": "./node_modules/typescript/bin/tsc",
"prepare": "husky install"
"prepare": "is-ci || husky install"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -84,6 +84,7 @@
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "^8.0.0",
"is-ci": "^3.0.1",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"tsd": "~0.29",
Expand Down

0 comments on commit 76cfdf2

Please sign in to comment.