|
30 | 30 | "lint": "eslint .",
|
31 | 31 | "lint-staged": "lint-staged --no-stash",
|
32 | 32 | "prepack": "yarn run build",
|
33 |
| - "prettier": "prettier .", |
| 33 | + "prettier-all": "prettier . --write", |
34 | 34 | "setup": "husky install",
|
35 |
| - "storybook": "start-storybook -p 8080", |
| 35 | + "storybook": "storybook dev -p 8080", |
36 | 36 | "test": "jest --config .config/jest.config.cjs"
|
37 | 37 | },
|
38 | 38 | "lint-staged": {
|
39 |
| - "*.ts?(x)": [ |
| 39 | + "src/**/*.ts?(x)": [ |
40 | 40 | "eslint --max-warnings 0 --fix",
|
41 | 41 | "prettier --write"
|
42 | 42 | ],
|
43 |
| - "*.{md,js,cjs,yml,json}": "prettier --write" |
| 43 | + "*.{md,js,cjs,yml,json}": "prettier --write", |
| 44 | + "vite.config.ts": "prettier --write", |
| 45 | + ".storybook/*.ts": "prettier --write" |
44 | 46 | },
|
45 |
| - "browserslist": [ |
46 |
| - "> 0.25%", |
47 |
| - "not dead", |
48 |
| - "not IE 11" |
49 |
| - ], |
50 | 47 | "devDependencies": {
|
51 |
| - "@babel/core": "^7.21.0", |
52 |
| - "@rollup/plugin-typescript": "^11.0.0", |
53 |
| - "@storybook/addon-essentials": "^6.5.16", |
54 |
| - "@storybook/addon-links": "^6.5.16", |
55 |
| - "@storybook/builder-webpack5": "^6.5.16", |
56 |
| - "@storybook/manager-webpack5": "^6.5.16", |
57 |
| - "@storybook/react": "^6.5.16", |
58 |
| - "@swc/core": "^1.3.37", |
59 |
| - "@swc/jest": "^0.2.24", |
| 48 | + "@rollup/plugin-typescript": "^11.1.0", |
| 49 | + "@storybook/addon-essentials": "^7.0.7", |
| 50 | + "@storybook/addon-interactions": "^7.0.7", |
| 51 | + "@storybook/addon-links": "^7.0.7", |
| 52 | + "@storybook/blocks": "^7.0.7", |
| 53 | + "@storybook/react": "^7.0.7", |
| 54 | + "@storybook/react-vite": "^7.0.7", |
| 55 | + "@swc/core": "^1.3.56", |
| 56 | + "@swc/jest": "^0.2.26", |
60 | 57 | "@testing-library/jest-dom": "^5.16.5",
|
61 |
| - "@testing-library/react": "^12.1.2", |
62 |
| - "@types/react": "^18.0.28", |
63 |
| - "@types/react-dom": "^18.0.11", |
64 |
| - "@typescript-eslint/eslint-plugin": "^5.54.0", |
65 |
| - "@typescript-eslint/parser": "^5.54.0", |
66 |
| - "babel-loader": "^9.1.2", |
67 |
| - "eslint": "^8.35.0", |
| 58 | + "@testing-library/react": "^12.1.5", |
| 59 | + "@types/react": "^18.2.0", |
| 60 | + "@types/react-dom": "^18.2.1", |
| 61 | + "@typescript-eslint/eslint-plugin": "^5.59.1", |
| 62 | + "@typescript-eslint/parser": "^5.59.1", |
| 63 | + "@vitejs/plugin-react-swc": "^3.3.0", |
| 64 | + "eslint": "^8.39.0", |
68 | 65 | "eslint-config-airbnb": "^19.0.4",
|
69 | 66 | "eslint-config-airbnb-typescript": "^17.0.0",
|
70 |
| - "eslint-config-prettier": "^8.6.0", |
| 67 | + "eslint-config-prettier": "^8.8.0", |
71 | 68 | "eslint-plugin-import": "^2.27.5",
|
72 | 69 | "eslint-plugin-jest": "^27.2.1",
|
73 | 70 | "eslint-plugin-jest-dom": "^4.0.3",
|
74 | 71 | "eslint-plugin-jsx-a11y": "^6.7.1",
|
75 | 72 | "eslint-plugin-react": "^7.32.2",
|
76 | 73 | "eslint-plugin-react-hooks": "^4.6.0",
|
77 |
| - "eslint-plugin-testing-library": "^5.10.2", |
| 74 | + "eslint-plugin-testing-library": "^5.10.3", |
78 | 75 | "husky": "^8.0.3",
|
79 |
| - "jest": "^29.4.3", |
80 |
| - "jest-environment-jsdom": "^29.4.3", |
81 |
| - "lint-staged": "^13.1.2", |
82 |
| - "prettier": "^2.8.4", |
| 76 | + "jest": "^29.5.0", |
| 77 | + "jest-environment-jsdom": "^29.5.0", |
| 78 | + "lint-staged": "^13.2.2", |
| 79 | + "prettier": "^2.8.8", |
83 | 80 | "prettier-plugin-packagejson": "^2.4.3",
|
| 81 | + "prop-types": "^15.8.1", |
84 | 82 | "react": "^17.0.2",
|
85 | 83 | "react-dom": "^17.0.2",
|
86 |
| - "rimraf": "^4.1.2", |
87 |
| - "rollup": "^3.17.3", |
| 84 | + "rimraf": "^5.0.0", |
| 85 | + "rollup": "^3.21.1", |
88 | 86 | "rollup-plugin-copy": "^3.4.0",
|
| 87 | + "storybook": "^7.0.7", |
89 | 88 | "tslib": "^2.5.0",
|
90 |
| - "typescript": "^4.9.5", |
91 |
| - "webpack": "^5.75.0" |
| 89 | + "typescript": "^5.0.4", |
| 90 | + "vite": "^4.3.3", |
| 91 | + "vite-plugin-checker": "^0.5.6" |
92 | 92 | },
|
93 | 93 | "peerDependencies": {
|
94 | 94 | "react": ">=16.8.0"
|
95 | 95 | },
|
96 |
| - "packageManager": "yarn@3.4.1" |
| 96 | + "packageManager": "yarn@3.5.0" |
97 | 97 | }
|
0 commit comments