Skip to content

Commit b2342f7

Browse files
committed
chore(packages): update react and typescript
1 parent 10fcc88 commit b2342f7

2 files changed

Lines changed: 99 additions & 102 deletions

File tree

package.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
"name": "react-qr-code-generator",
33
"version": "1.0.0",
44
"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+
],
517
"scripts": {
618
"dev": "vite",
719
"build": "tsc -b && vite build",
@@ -15,10 +27,14 @@
1527
"prettier --write --config .prettierrc"
1628
]
1729
},
30+
"peerDependencies": {
31+
"react": "^19.0.0",
32+
"react-dom": "^19.0.0"
33+
},
1834
"dependencies": {
1935
"@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",
2238
"tailwindcss": "^4.0.0"
2339
},
2440
"devDependencies": {
@@ -27,8 +43,8 @@
2743
"@eslint/js": "^9.17.0",
2844
"@trivago/prettier-plugin-sort-imports": "^5.2.1",
2945
"@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",
3248
"@vitejs/plugin-react": "^4.3.4",
3349
"commitizen": "^4.3.1",
3450
"eslint": "^9.17.0",
@@ -37,7 +53,7 @@
3753
"globals": "^15.14.0",
3854
"husky": "^9.1.7",
3955
"lint-staged": "^15.4.2",
40-
"typescript": "~5.6.2",
56+
"typescript": "~5.7.3",
4157
"typescript-eslint": "^8.18.2",
4258
"vite": "^6.0.5"
4359
}

0 commit comments

Comments
 (0)