|
1 | 1 | {
|
2 |
| - "version": "0.7.1", |
| 2 | + "version": "0.7.2", |
3 | 3 | "name": "react-router-prompt",
|
4 | 4 | "description": "React Router Navigation Prompt for v6",
|
5 | 5 | "type": "module",
|
|
12 | 12 | "exports": {
|
13 | 13 | ".": {
|
14 | 14 | "import": "./dist/react-router-prompt.js",
|
15 |
| - "require": "./dist/react-router-prompt.umd.cjs", |
16 |
| - "types": "./dist/index.d.ts" |
| 15 | + "require": "./dist/react-router-prompt.umd.cjs" |
17 | 16 | }
|
18 | 17 | },
|
19 | 18 | "author": "Shyam Gupta (shyamm@outlook.com)",
|
|
39 | 38 | "format": "prettier \"src/**/*.{js,jsx,ts,tsx,css,scss}\" --write",
|
40 | 39 | "size": "size-limit",
|
41 | 40 | "prepublishOnly": "yarn build",
|
42 |
| - "prepare": "husky install" |
43 |
| - }, |
44 |
| - "husky": { |
45 |
| - "hooks": { |
46 |
| - "pre-commit": "pnpm lint" |
47 |
| - } |
| 41 | + "prepare": "husky" |
48 | 42 | },
|
49 | 43 | "devDependencies": {
|
50 | 44 | "@size-limit/preset-small-lib": "^11.0.2",
|
51 |
| - "@types/react": "^18.2.55", |
52 |
| - "@types/react-dom": "^18.2.19", |
| 45 | + "@types/react": "^19.0.2", |
| 46 | + "@types/react-dom": "^19.0.2", |
53 | 47 | "@typescript-eslint/eslint-plugin": "^8.0.0",
|
54 | 48 | "@typescript-eslint/parser": "^8.0.0",
|
55 |
| - "@vitejs/plugin-react-swc": "^3.6.0", |
| 49 | + "@vitejs/plugin-react-swc": "^3.7.2", |
56 | 50 | "eslint": "^8.56.0",
|
57 |
| - "eslint-config-airbnb": "^19.0.4", |
58 |
| - "eslint-config-airbnb-typescript": "^18.0.0", |
59 | 51 | "eslint-config-prettier": "^9.1.0",
|
60 | 52 | "eslint-plugin-import": "^2.29.1",
|
61 | 53 | "eslint-plugin-jsx-a11y": "^6.8.0",
|
|
65 | 57 | "history": "^5.3.0",
|
66 | 58 | "husky": "^9.0.11",
|
67 | 59 | "path": "^0.12.7",
|
68 |
| - "prettier": "^3.2.5", |
69 |
| - "react": "^18.2.0", |
70 |
| - "react-dom": "^18.2.0", |
| 60 | + "prettier": "^3.4.2", |
| 61 | + "react": "^19.0.0", |
| 62 | + "react-dom": "^19.0.0", |
71 | 63 | "react-router-dom": "^6.22.1",
|
72 | 64 | "size-limit": "^11.0.2",
|
73 | 65 | "typescript": "^5.3.3",
|
74 |
| - "vite": "^5.1.3", |
75 |
| - "vite-plugin-dts": "^4.0.0", |
76 |
| - "vite-tsconfig-paths": "^5.0.0" |
| 66 | + "vite": "^6.0.5", |
| 67 | + "vite-plugin-dts": "^4.4.0", |
| 68 | + "vite-tsconfig-paths": "^5.1.4" |
77 | 69 | },
|
78 | 70 | "peerDependencies": {
|
79 | 71 | "react": ">=16.8",
|
80 | 72 | "react-dom": ">=16.8",
|
81 |
| - "react-router-dom": ">=6.19" |
| 73 | + "react-router-dom": ">=6.19 <7" |
82 | 74 | },
|
83 | 75 | "size-limit": [
|
84 | 76 | {
|
|
0 commit comments