|
2 | 2 | "name": "react-avatar-editor", |
3 | 3 | "version": "14.0.0", |
4 | 4 | "description": "Avatar / profile picture component. Resize and crop your uploaded image using a intuitive user interface.", |
5 | | - "main": "./dist/index.js", |
| 5 | + "main": "./dist/index.cjs", |
6 | 6 | "module": "./dist/index.mjs", |
7 | | - "types": "./dist/index.d.ts", |
| 7 | + "types": "./dist/index.d.cts", |
8 | 8 | "sideEffects": false, |
9 | 9 | "exports": { |
10 | 10 | ".": { |
11 | | - "require": "./dist/index.js", |
12 | | - "import": "./dist/index.mjs", |
13 | | - "types": "./dist/index.d.ts" |
| 11 | + "require": { |
| 12 | + "types": "./dist/index.d.cts", |
| 13 | + "default": "./dist/index.cjs" |
| 14 | + }, |
| 15 | + "import": { |
| 16 | + "types": "./dist/index.d.mts", |
| 17 | + "default": "./dist/index.mjs" |
| 18 | + } |
14 | 19 | } |
15 | 20 | }, |
16 | 21 | "scripts": { |
17 | | - "build": "tsup", |
| 22 | + "build": "tsdown", |
18 | 23 | "clean": "rm -rf dist", |
19 | 24 | "test": "pnpm build && playwright test", |
20 | 25 | "prepublishOnly": "pnpm -w lint && pnpm test && pnpm build" |
|
23 | 28 | "dist", |
24 | 29 | "src" |
25 | 30 | ], |
26 | | - "dependencies": {}, |
27 | 31 | "peerDependencies": { |
28 | 32 | "react": "^0.14.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", |
29 | 33 | "react-dom": "^0.14.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" |
30 | 34 | }, |
31 | 35 | "devDependencies": { |
32 | | - "@playwright/test": "^1.40.0", |
33 | | - "@types/react": "18.2.38", |
34 | | - "tsup": "8.0.1" |
| 36 | + "@playwright/test": "^1.57.0", |
| 37 | + "@types/react": "19.2.7", |
| 38 | + "tsdown": "^0.16.7" |
35 | 39 | }, |
36 | 40 | "license": "MIT", |
37 | 41 | "keywords": [ |
|
0 commit comments