|
39 | 39 | "test": "jest", |
40 | 40 | "prepublishOnly": "npm run build", |
41 | 41 | "storybook": "storybook dev -p 6006", |
42 | | - "build-storybook": "storybook build" |
| 42 | + "build-storybook": "storybook build", |
| 43 | + "lint": "eslint \"src/**/*.{ts,tsx,js,jsx}\"", |
| 44 | + "typecheck": "tsc --noEmit", |
| 45 | + "format:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"", |
| 46 | + "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"", |
| 47 | + "check-code": "yarn lint && yarn typecheck" |
43 | 48 | }, |
44 | 49 | "peerDependencies": { |
45 | 50 | "react": "^17.0.0 || ^18.0.0", |
|
61 | 66 | "@storybook/react": "^8.1.10", |
62 | 67 | "@storybook/react-webpack5": "^8.1.10", |
63 | 68 | "@storybook/test": "^8.1.10", |
| 69 | + "@testing-library/dom": "^10.4.0", |
64 | 70 | "@testing-library/jest-dom": "^6.4.6", |
65 | 71 | "@testing-library/react": "^16.0.0", |
| 72 | + "@types/eslint": "^9", |
66 | 73 | "@types/react": "^18.3.3", |
67 | 74 | "@types/react-dom": "^18.3.0", |
| 75 | + "@typescript-eslint/eslint-plugin": "^8.4.0", |
| 76 | + "@typescript-eslint/parser": "^8.4.0", |
68 | 77 | "autoprefixer": "^10.4.19", |
69 | 78 | "concurrently": "^8.2.2", |
| 79 | + "eslint": "^9.9.1", |
| 80 | + "eslint-plugin-react": "^7.35.2", |
70 | 81 | "jest": "^29.7.0", |
71 | 82 | "jest-environment-jsdom": "^29.7.0", |
72 | 83 | "postcss": "^8.4.38", |
| 84 | + "prettier": "^3.3.3", |
73 | 85 | "react": "^17.0.0 || ^18.0.0", |
74 | 86 | "react-dom": "^17.0.0 || ^18.0.0", |
75 | 87 | "semantic-release": "^24.0.0", |
|
0 commit comments