|
12 | 12 | "module": "dist/index.mjs", |
13 | 13 | "types": "dist/types/index.d.ts", |
14 | 14 | "sideEffects": false, |
| 15 | + "exports": { |
| 16 | + ".": { |
| 17 | + "types": "./dist/types/index.d.ts", |
| 18 | + "import": "./dist/index.mjs", |
| 19 | + "require": "./dist/index.js" |
| 20 | + } |
| 21 | + }, |
15 | 22 | "engines": { |
16 | 23 | "node": "20 || 22 || 24" |
17 | 24 | }, |
18 | 25 | "workspaces": [ |
19 | 26 | "examples/*" |
20 | 27 | ], |
| 28 | + "peerDependencies": { |
| 29 | + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" |
| 30 | + }, |
| 31 | + "dependencies": { |
| 32 | + "@junipero/core": "3.12.3", |
| 33 | + "@types/poool-access": "5.18.1" |
| 34 | + }, |
21 | 35 | "devDependencies": { |
22 | 36 | "@poool/eslint-config": "5.0.7", |
23 | 37 | "@poool/eslint-config-react": "5.0.9", |
|
45 | 59 | "react-router-dom": "7.9.4", |
46 | 60 | "swc-loader": "0.2.6", |
47 | 61 | "ts-node": "10.9.2", |
48 | | - "tsup": "8.5.0", |
| 62 | + "tsdown": "0.15.9", |
49 | 63 | "typescript": "5.9.3", |
50 | 64 | "typescript-eslint": "8.46.2", |
51 | 65 | "webpack": "5.102.1", |
52 | 66 | "webpack-cli": "6.0.1", |
53 | 67 | "webpack-dev-server": "5.2.2" |
54 | 68 | }, |
55 | | - "peerDependencies": { |
56 | | - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" |
57 | | - }, |
58 | 69 | "scripts": { |
59 | 70 | "clean": "rm -rf ./dist || true", |
60 | 71 | "build": "yarn clean && yarn build:code && yarn build:types", |
61 | | - "build:code": "tsup", |
| 72 | + "build:code": "tsdown", |
62 | 73 | "build:types": "tsc --project ./tsconfig.build.json", |
63 | 74 | "prepack": "yarn build && yarn lint && yarn tsc && yarn test", |
64 | 75 | "test": "NODE_ENV='test' jest", |
|
68 | 79 | "example:basic": "yarn workspace poool-react-access-basic-example serve", |
69 | 80 | "example:next": "yarn workspace poool-react-access-next-example dev" |
70 | 81 | }, |
71 | | - "dependencies": { |
72 | | - "@junipero/core": "3.12.3", |
73 | | - "@types/poool-access": "5.18.1" |
74 | | - }, |
75 | 82 | "resolutions": { |
76 | 83 | "ws": "8.12.0" |
77 | 84 | }, |
| 85 | + "targets": [ |
| 86 | + "chrome109", |
| 87 | + "edge138", |
| 88 | + "firefox140", |
| 89 | + "safari18", |
| 90 | + "opera80", |
| 91 | + "node20" |
| 92 | + ], |
78 | 93 | "packageManager": "yarn@4.10.3" |
79 | 94 | } |
0 commit comments