|
12 | 12 | "lint:fix": "eslint --fix --ext .ts,.tsx src/",
|
13 | 13 | "prettier": "prettier \"**/*.+(js|jsx|json|ts|tsx|css|scss|md|mdx|graphql)\" --write",
|
14 | 14 | "deploy:draft": "rm -rf build && npm run build && netlify deploy -d build",
|
15 | | - "deploy:prod": "rm -rf build && npm run build && netlify deploy -d build --prod" |
| 15 | + "deploy:prod": "rm -rf build && npm run build && netlify deploy -d build --prod" |
16 | 16 | },
|
17 | 17 | "husky": {
|
18 | 18 | "hooks": {
|
19 | 19 | "pre-commit": "lint-staged"
|
20 | 20 | }
|
21 | 21 | },
|
22 | 22 | "lint-staged": {
|
23 | | - "**/*.{js,jsx,json,ts,tsx,css,scss,md,mdx,graphql}": "prettier --write" |
| 23 | + "./**/*.{js,jsx,json,ts,tsx,css,scss,md,mdx,graphql}": "pnpm prettier:ts -- --write" |
24 | 24 | },
|
25 | 25 | "dependencies": {
|
26 | 26 | "@reduxjs/toolkit": "^1.8.1",
|
|
42 | 42 | "husky": "^7.0.4",
|
43 | 43 | "lint-staged": "^12.4.1",
|
44 | 44 | "prettier": "^2.6.2",
|
45 | | - "sass": "^1.51.0", |
| 45 | + "sass": "^1.51.0", |
46 | 46 | "typescript": "^4.6.4",
|
47 | 47 | "vite": "^2.9.6"
|
48 | 48 | }
|
|
0 commit comments