|
1 | 1 | { |
2 | 2 | "name": "react-dark-mode-toggle-2", |
3 | | - "version": "2.0.3", |
| 3 | + "version": "3.0.0", |
4 | 4 | "description": "An updated, cute dark mode toggle button for React.", |
5 | 5 | "module": "dist/index.es.js", |
6 | 6 | "types": "dist/index.d.ts", |
|
38 | 38 | "storybook": "start-storybook -p 6006", |
39 | 39 | "build-storybook": "build-storybook", |
40 | 40 | "build": "yarn type-check && vite build", |
41 | | - "prepublishOnly": "yarn build" |
| 41 | + "prepublishOnly": "yarn build", |
| 42 | + "prepare": "husky install" |
42 | 43 | }, |
43 | 44 | "repository": "", |
44 | 45 | "author": "Todd Elvers <todd.elvers+github@gmail.com>", |
|
48 | 49 | "lottie-web": "5.7.14" |
49 | 50 | }, |
50 | 51 | "devDependencies": { |
51 | | - "@babel/core": "^7.15.8", |
52 | | - "@emotion/css": "^11.5.0", |
53 | | - "@rollup/plugin-typescript": "^8.3.0", |
54 | | - "@storybook/addon-actions": "^6.3.12", |
55 | | - "@storybook/addon-essentials": "^6.3.12", |
56 | | - "@storybook/addon-links": "^6.3.12", |
57 | | - "@storybook/react": "^6.3.12", |
58 | | - "@types/jest": "^27.0.2", |
59 | | - "@types/react": "^16.14.11 || ^17.0.0", |
60 | | - "@types/react-dom": "^16.9.14 || ^17.0.0", |
61 | | - "@vitejs/plugin-react-refresh": "^1.3.1", |
62 | | - "babel-loader": "^8.2.3", |
63 | | - "husky": "^4.3.8", |
64 | | - "jest": "^27.3.1", |
65 | | - "lint-staged": "^11.2.5", |
66 | | - "lottie-web": "^5.7.14", |
67 | | - "prettier": "^2.4.1", |
68 | | - "react": "^16.14.0 || ^17.0.0", |
69 | | - "react-dom": "^16.14.0 || ^17.0.0", |
| 52 | + "@babel/core": "^7.18.6", |
| 53 | + "@emotion/css": "^11.9.0", |
| 54 | + "@rollup/plugin-typescript": "^8.3.3", |
| 55 | + "@storybook/addon-actions": "^6.5.9", |
| 56 | + "@storybook/addon-essentials": "^6.5.9", |
| 57 | + "@storybook/addon-links": "^6.5.9", |
| 58 | + "@storybook/react": "^6.5.9", |
| 59 | + "@types/jest": "^28.1.5", |
| 60 | + "@types/react": "^18.0.0", |
| 61 | + "@types/react-dom": "^18.0.0", |
| 62 | + "@vitejs/plugin-react": "^2.0.0", |
| 63 | + "babel-loader": "^8.2.5", |
| 64 | + "husky": "^8.0.0", |
| 65 | + "jest": "^28.1.3", |
| 66 | + "lint-staged": "^13.0.3", |
| 67 | + "lottie-web": "^5.9.6", |
| 68 | + "prettier": "^2.7.1", |
| 69 | + "react": "^18.0.0", |
| 70 | + "react-dom": "^18.0.0", |
70 | 71 | "rimraf": "^3.0.2", |
71 | | - "rollup": "^2.58.3", |
72 | | - "rollup-plugin-typescript2": "^0.30.0", |
73 | | - "ts-jest": "^27.0.7", |
74 | | - "ts-loader": "^9.2.6", |
75 | | - "ts-node": "^10.4.0", |
76 | | - "typescript": "^4.4.4", |
77 | | - "vite": "^2.6.13" |
| 72 | + "rollup": "^2.76.0", |
| 73 | + "rollup-plugin-typescript2": "^0.32.1", |
| 74 | + "ts-jest": "^28.0.5", |
| 75 | + "ts-loader": "^9.3.1", |
| 76 | + "ts-node": "^10.9.1", |
| 77 | + "typescript": "^4.7.4", |
| 78 | + "vite": "^3.0.0" |
78 | 79 | }, |
79 | 80 | "peerDependencies": { |
80 | | - "react": "^16.14.0 || ^17.0.0", |
81 | | - "react-dom": "^16.14.0 || ^17.0.0" |
| 81 | + "react": "^18.0.0", |
| 82 | + "react-dom": "^18.0.0" |
82 | 83 | }, |
83 | 84 | "dependencies": { |
84 | | - "react-lottie-player": "^1.4.1" |
| 85 | + "react-lottie-player": "^1.4.3" |
85 | 86 | }, |
86 | 87 | "husky": { |
87 | 88 | "hooks": { |
|
0 commit comments