|
8 | 8 | "scripts": {
|
9 | 9 | "lint": "eslint .",
|
10 | 10 | "test-off": "vitest",
|
11 |
| - "build": "tshy", |
12 |
| - "dev": "tshy --watch", |
| 11 | + "build": "tsup", |
| 12 | + "dev": "tsup --watch", |
13 | 13 | "clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
|
14 | 14 | },
|
15 | 15 | "author": "Andrew Lisowski <lisowski54@gmail.com>",
|
|
20 | 20 | "@jimp/utils": "workspace:*",
|
21 | 21 | "await-to-js": "^3.0.0",
|
22 | 22 | "exif-parser": "^0.1.12",
|
23 |
| - "file-type": "^16.0.0", |
| 23 | + "file-type": "^19.6.0", |
24 | 24 | "mime": "3"
|
25 | 25 | },
|
26 | 26 | "devDependencies": {
|
|
32 | 32 | "@types/node": "^18.19.48",
|
33 | 33 | "eslint": "^9.9.1",
|
34 | 34 | "tshy": "^3.0.2",
|
| 35 | + "tsup": "^8.3.5", |
35 | 36 | "typescript": "^5.5.4",
|
36 | 37 | "vite-plugin-node-polyfills": "^0.22.0",
|
37 | 38 | "vitest": "^2.0.5"
|
|
49 | 50 | "./package.json": "./package.json",
|
50 | 51 | ".": {
|
51 | 52 | "import": {
|
52 |
| - "types": "./dist/esm/index.d.ts", |
53 |
| - "default": "./dist/esm/index.js" |
| 53 | + "types": "./dist/index.d.ts", |
| 54 | + "default": "./dist/index.js" |
54 | 55 | },
|
55 | 56 | "require": {
|
56 |
| - "types": "./dist/commonjs/index.d.ts", |
57 |
| - "default": "./dist/commonjs/index.js" |
| 57 | + "types": "./dist/index.d.cts", |
| 58 | + "default": "./dist/index.cjs" |
58 | 59 | }
|
59 | 60 | }
|
60 | 61 | },
|
61 |
| - "main": "./dist/commonjs/index.js", |
62 |
| - "types": "./dist/commonjs/index.d.ts", |
| 62 | + "main": "./dist/index.cjs", |
| 63 | + "types": "./dist/index.d.cts", |
63 | 64 | "type": "module",
|
64 | 65 | "publishConfig": {
|
65 | 66 | "access": "public"
|
66 | 67 | },
|
67 | 68 | "sideEffects": false,
|
68 |
| - "module": "./dist/esm/index.js" |
| 69 | + "module": "./dist/index.js" |
69 | 70 | }
|
0 commit comments