|
3 | 3 | "version": "4.0.7", |
4 | 4 | "description": "react flickity component", |
5 | 5 | "files": [ |
6 | | - "dist", |
7 | | - "src/index.d.ts" |
| 6 | + "dist" |
8 | 7 | ], |
9 | 8 | "main": "./dist/react-flickity-component.umd.js", |
10 | 9 | "module": "./dist/react-flickity-component.es.js", |
11 | 10 | "exports": { |
12 | 11 | ".": { |
13 | | - "types": "./src/index.d.ts", |
| 12 | + "types": "./dist/index.d.ts", |
14 | 13 | "import": "./dist/react-flickity-component.es.js", |
15 | 14 | "require": "./dist/react-flickity-component.umd.js" |
16 | 15 | } |
17 | 16 | }, |
18 | 17 | "scripts": { |
19 | | - "pretty": "prettier --single-quote --trailing-comma es5 --write \"src/**/*.js\" \"examples/**/*.jsx\"", |
| 18 | + "pretty": "prettier --single-quote --trailing-comma es5 --write \"src/**/*.ts\" \"examples/**/*.tsx\"", |
20 | 19 | "test": "vitest", |
21 | 20 | "dev": "vite serve ./examples", |
22 | 21 | "build": "vite build", |
|
37 | 36 | "react-component" |
38 | 37 | ], |
39 | 38 | "dependencies": { |
40 | | - "imagesloaded": "^4.1.4", |
41 | | - "prop-types": "^15.7.2" |
| 39 | + "imagesloaded": "^4.1.4" |
42 | 40 | }, |
43 | 41 | "devDependencies": { |
44 | 42 | "@originjs/vite-plugin-commonjs": "^1.0.3", |
45 | | - "@testing-library/jest-dom": "^5.16.5", |
46 | | - "@testing-library/react": "^13.4.0", |
47 | | - "@types/react": "^18.0.26", |
48 | | - "@types/react-dom": "^18.0.9", |
| 43 | + "@testing-library/jest-dom": "^6.0.0", |
| 44 | + "@testing-library/react": "^16.0.0", |
| 45 | + "@types/react": "^19.0.0", |
| 46 | + "@types/react-dom": "^19.0.0", |
| 47 | + "@types/flickity": "^2.2.0", |
| 48 | + "@types/imagesloaded": "^4.1.0", |
49 | 49 | "@vitejs/plugin-react": "^4.0.0", |
50 | 50 | "flickity": "^2.2.1", |
51 | | - "jsdom": "^20.0.3", |
52 | | - "prettier": "^2.8.1", |
53 | | - "react": "^18.2.0", |
54 | | - "react-dom": "^18.2.0", |
| 51 | + "jsdom": "^25.0.0", |
| 52 | + "prettier": "^3.0.0", |
| 53 | + "react": "^19.0.0", |
| 54 | + "react-dom": "^19.0.0", |
| 55 | + "typescript": "^5.0.0", |
55 | 56 | "vite": "^6.0.0", |
56 | | - "vitest": "^0.25.7" |
| 57 | + "vite-plugin-dts": "^4.0.0", |
| 58 | + "vitest": "^2.0.0" |
57 | 59 | }, |
58 | 60 | "peerDependencies": { |
59 | 61 | "flickity": "^2.2.1", |
60 | | - "react": "^18.2.0", |
61 | | - "react-dom": "^18.2.0" |
| 62 | + "react": "^19.0.0", |
| 63 | + "react-dom": "^19.0.0" |
62 | 64 | }, |
63 | | - "typings": "./src/index.d.ts" |
| 65 | + "typings": "./dist/index.d.ts", |
| 66 | + "packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac" |
64 | 67 | } |
0 commit comments