|
2 | 2 | "name": "react-qr-code-generator", |
3 | 3 | "version": "1.0.0", |
4 | 4 | "type": "module", |
| 5 | + "types": "./dist/index.d.ts", |
| 6 | + "main": "./dist/index.umd.js", |
| 7 | + "module": "./dist/index.es.js", |
| 8 | + "exports": { |
| 9 | + ".": { |
| 10 | + "import": "./dist/index.es.js", |
| 11 | + "require": "./dist/index.umd.js" |
| 12 | + } |
| 13 | + }, |
| 14 | + "files": [ |
| 15 | + "dist" |
| 16 | + ], |
5 | 17 | "scripts": { |
6 | 18 | "dev": "vite", |
7 | 19 | "build": "tsc -b && vite build", |
|
15 | 27 | "prettier --write --config .prettierrc" |
16 | 28 | ] |
17 | 29 | }, |
| 30 | + "peerDependencies": { |
| 31 | + "react": "^19.0.0", |
| 32 | + "react-dom": "^19.0.0" |
| 33 | + }, |
18 | 34 | "dependencies": { |
19 | 35 | "@tailwindcss/vite": "^4.0.0", |
20 | | - "react": "^18.3.1", |
21 | | - "react-dom": "^18.3.1", |
| 36 | + "react": "^19.0.0", |
| 37 | + "react-dom": "^19.0.0", |
22 | 38 | "tailwindcss": "^4.0.0" |
23 | 39 | }, |
24 | 40 | "devDependencies": { |
|
27 | 43 | "@eslint/js": "^9.17.0", |
28 | 44 | "@trivago/prettier-plugin-sort-imports": "^5.2.1", |
29 | 45 | "@types/node": "^22.10.10", |
30 | | - "@types/react": "^18.3.18", |
31 | | - "@types/react-dom": "^18.3.5", |
| 46 | + "@types/react": "^19.0.8", |
| 47 | + "@types/react-dom": "^19.0.3", |
32 | 48 | "@vitejs/plugin-react": "^4.3.4", |
33 | 49 | "commitizen": "^4.3.1", |
34 | 50 | "eslint": "^9.17.0", |
|
37 | 53 | "globals": "^15.14.0", |
38 | 54 | "husky": "^9.1.7", |
39 | 55 | "lint-staged": "^15.4.2", |
40 | | - "typescript": "~5.6.2", |
| 56 | + "typescript": "~5.7.3", |
41 | 57 | "typescript-eslint": "^8.18.2", |
42 | 58 | "vite": "^6.0.5" |
43 | 59 | } |
|
0 commit comments