|
24 | 24 | "dev": "yarn clean && next dev",
|
25 | 25 | "develop": "yarn dev",
|
26 | 26 | "export": "next export",
|
27 |
| - "format": "npx prettier --config=prettier.config.js '**/*.{js,jsx,ts,tsx,md,html,css,scss,json}' --write || true", |
| 27 | + "format": "npx prettier --config=prettier.config.js '**/*.{js,jsx,ts,tsx,md,html,css,scss,json,yml}' --write || true", |
28 | 28 | "lint": "yarn format && yarn lint:js && yarn lint:css",
|
29 | 29 | "lint:css": "npx stylelint --config=stylelint.config.js '**/*.css' --fix || true",
|
30 | 30 | "lint:js": "npx eslint --config=.eslintrc.js ./ --fix || true",
|
|
39 | 39 | },
|
40 | 40 | "devDependencies": {
|
41 | 41 | "@apollo/client": "^3.3.8",
|
| 42 | + "@arkweid/lefthook": "^0.7.2", |
42 | 43 | "@babel/core": "^7.12.13",
|
43 | 44 | "@storybook/addon-a11y": "^6.1.17",
|
44 | 45 | "@storybook/addon-essentials": "^6.1.17",
|
|
62 | 63 | "graphql": "^15.5.0",
|
63 | 64 | "graphql-anywhere": "^4.2.7",
|
64 | 65 | "hamburger-react": "^2.4.0",
|
65 |
| - "husky": "^4.3.8", |
66 |
| - "lint-staged": "^10.5.4", |
67 | 66 | "next-seo": "^4.19.0",
|
68 | 67 | "next-sitemap": "^1.4.19",
|
69 | 68 | "postcss-flexbugs-fixes": "^4.2.1",
|
|
80 | 79 | "stylelint-config-standard": "^20.0.0",
|
81 | 80 | "tailwindcss": "npm:@tailwindcss/postcss7-compat",
|
82 | 81 | "yup": "^0.32.8"
|
83 |
| - }, |
84 |
| - "husky": { |
85 |
| - "hooks": { |
86 |
| - "pre-commit": "lint-staged" |
87 |
| - } |
88 |
| - }, |
89 |
| - "lint-staged": { |
90 |
| - "*.{js,jsx,ts,tsx}": "npx eslint --config=.eslintrc.js --fix", |
91 |
| - "*.{css,scss}": "npx stylelint --config=stylelint.config.js --fix", |
92 |
| - "*.{md,html,json}": "npx prettier --config=prettier.config.js --write" |
93 | 82 | }
|
94 | 83 | }
|
0 commit comments