|
14 | 14 | "url": "https://github.com/zotero-plugin-dev/eslint-config/issues" |
15 | 15 | }, |
16 | 16 | "exports": { |
17 | | - ".": "./dist/index.mjs" |
| 17 | + ".": "./dist/index.js", |
| 18 | + "./package.json": "./package.json" |
18 | 19 | }, |
19 | | - "main": "./dist/index.mjs", |
20 | | - "module": "./dist/index.mjs", |
21 | | - "types": "./dist/index.d.mts", |
| 20 | + "main": "./dist/index.js", |
| 21 | + "module": "./dist/index.js", |
| 22 | + "types": "./dist/index.d.ts", |
22 | 23 | "files": [ |
23 | 24 | "dist" |
24 | 25 | ], |
25 | 26 | "publishConfig": { |
26 | | - "access": "public" |
| 27 | + "access": "public", |
| 28 | + "exports": { |
| 29 | + ".": "./dist/index.js", |
| 30 | + "./package.json": "./package.json" |
| 31 | + } |
27 | 32 | }, |
28 | 33 | "engines": { |
29 | 34 | "node": "^18.18.0 || >=20.0.0" |
30 | 35 | }, |
31 | 36 | "scripts": { |
32 | | - "dev": "unbuild --stub", |
| 37 | + "dev": "tsdown --watch", |
33 | 38 | "dev:inspector": "eslint-config-inspector --config eslint-inspector.config.ts", |
34 | | - "build": "pnpm build:typegen && pnpm build:tsc && pnpm build:unbuild", |
35 | | - "build:unbuild": "unbuild", |
| 39 | + "build": "pnpm build:typegen && pnpm build:tsc && pnpm build:tsdown", |
| 40 | + "build:tsdown": "tsdown", |
36 | 41 | "build:typegen": "tsx scripts/typegen.ts", |
37 | 42 | "build:tsc": "tsc --noEmit", |
38 | 43 | "build:inspector": "eslint-config-inspector build --config eslint-inspector.config.ts", |
|
62 | 67 | "eslint-typegen": "^2.2.0", |
63 | 68 | "husky": "^9.1.7", |
64 | 69 | "lint-staged": "^16.1.0", |
| 70 | + "tsdown": "^0.12.7", |
65 | 71 | "tsx": "^4.20.1", |
66 | | - "typescript": "^5.8.3", |
67 | | - "unbuild": "^3.5.0" |
| 72 | + "typescript": "^5.8.3" |
68 | 73 | }, |
69 | 74 | "lint-staged": { |
70 | 75 | "*": "eslint --fix" |
|
0 commit comments