diff options
author | 2023-05-24 10:24:22 +0530 | |
---|---|---|
committer | 2023-05-24 10:24:22 +0530 | |
commit | f8bb993365cb4fecc8429ccce6b5c35e51459528 (patch) | |
tree | e28690d32ac121460f28d2a43a649f58b0c0eb4c /package.json | |
parent | add thehale as a contributor for code (#372) (diff) | |
download | ferdium-recipes-f8bb993365cb4fecc8429ccce6b5c35e51459528.tar.gz ferdium-recipes-f8bb993365cb4fecc8429ccce6b5c35e51459528.tar.zst ferdium-recipes-f8bb993365cb4fecc8429ccce6b5c35e51459528.zip |
Do not install husky if running in CI
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json index c74bf97..4e65369 100644 --- a/package.json +++ b/package.json | |||
@@ -9,11 +9,11 @@ | |||
9 | }, | 9 | }, |
10 | "scripts": { | 10 | "scripts": { |
11 | "preinstall": "npx only-allow pnpm", | 11 | "preinstall": "npx only-allow pnpm", |
12 | "prepare": "pnpm dlx husky install", | 12 | "prepare": "is-ci || husky install", |
13 | "package": "node scripts/package.js", | 13 | "package": "node scripts/package.js", |
14 | "create": "node scripts/create.js", | 14 | "create": "node scripts/create.js", |
15 | "lint": "pnpm dlx eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", | 15 | "lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", |
16 | "lint:fix": "pnpm dlx eslint --fix \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", | 16 | "lint:fix": "eslint --fix \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", |
17 | "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"", | 17 | "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"", |
18 | "contributors": "all-contributors" | 18 | "contributors": "all-contributors" |
19 | }, | 19 | }, |
@@ -39,6 +39,7 @@ | |||
39 | "fs-extra": "11.1.1", | 39 | "fs-extra": "11.1.1", |
40 | "husky": "8.0.3", | 40 | "husky": "8.0.3", |
41 | "image-size": "1.0.2", | 41 | "image-size": "1.0.2", |
42 | "is-ci": "3.0.1", | ||
42 | "open": "8.4.1", | 43 | "open": "8.4.1", |
43 | "prettier": "2.8.8", | 44 | "prettier": "2.8.8", |
44 | "simple-git": "3.18.0", | 45 | "simple-git": "3.18.0", |