|
8 | 8 | ],
|
9 | 9 | "private": true,
|
10 | 10 | "scripts": {
|
11 |
| - "prettier": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx}\"", |
12 |
| - "prettier:docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"", |
13 |
| - "prettier:ci": "prettier --config .prettierrc --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"", |
| 11 | + "format": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx}\"", |
| 12 | + "format:docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"", |
| 13 | + "format:ci": "prettier --config .prettierrc --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"", |
14 | 14 | "lint:ci": "yarn workspace infima lint",
|
15 | 15 | "start": "cd packages/core && npm start",
|
16 | 16 | "build": "yarn workspace infima build",
|
|
19 | 19 | "website:build": "yarn workspace infima-website build",
|
20 | 20 | "website:deploy": "yarn workspace infima-website deploy",
|
21 | 21 | "lock:update": "npx yarn-deduplicate",
|
22 |
| - "postinstall": "is-ci || husky install && yarn lock:update" |
| 22 | + "postinstall": "yarn lock:update", |
| 23 | + "prepare": "husky install" |
23 | 24 | },
|
24 | 25 | "devDependencies": {
|
25 |
| - "husky": "^5.0.9", |
26 |
| - "is-ci": "^3.0.0", |
27 |
| - "prettier": "^2.2.1" |
| 26 | + "husky": "^7.0.4", |
| 27 | + "prettier": "^2.6.0" |
28 | 28 | },
|
29 | 29 | "lint-staged": {
|
30 | 30 | "*.{js,jsx,ts,tsx}": [
|
|
0 commit comments