|
14 | 14 | "bugs": "testing-library/eslint-plugin-testing-library/issues", |
15 | 15 | "repository": "testing-library/eslint-plugin-testing-library", |
16 | 16 | "license": "MIT", |
17 | | - "author": "Mario Beltrán <https://mario.dev>", |
| 17 | + "author": "Mario Beltrán (https://mario.dev)", |
18 | 18 | "files": [ |
19 | | - "dist", |
20 | | - "README.md", |
21 | | - "LICENSE", |
22 | | - "index.d.ts" |
| 19 | + "dist" |
23 | 20 | ], |
24 | | - "main": "./dist/index.js", |
25 | | - "types": "index.d.ts", |
| 21 | + "type": "commonjs", |
| 22 | + "main": "./dist/index.cjs", |
| 23 | + "module": "./dist/index.mjs", |
| 24 | + "types": "./dist/index.d.cts", |
| 25 | + "exports": { |
| 26 | + ".": { |
| 27 | + "import": "./dist/index.mjs", |
| 28 | + "require": "./dist/index.cjs" |
| 29 | + }, |
| 30 | + "./package.json": "./package.json" |
| 31 | + }, |
26 | 32 | "scripts": { |
27 | 33 | "build": "tsdown lib/index.ts --format esm --format cjs", |
| 34 | + "bundle-check": "pnpm run build & publint", |
28 | 35 | "generate-all": "pnpm run --parallel \"/^generate:.*/\"", |
29 | 36 | "generate-all:check": "pnpm run generate-all && git diff --exit-code", |
30 | 37 | "generate:configs": "ts-node tools/generate-configs", |
|
71 | 78 | "husky": "^9.1.7", |
72 | 79 | "lint-staged": "^15.2.10", |
73 | 80 | "prettier": "3.6.2", |
| 81 | + "publint": "^0.3.16", |
74 | 82 | "semantic-release": "^25.0.2", |
75 | 83 | "semver": "^7.6.3", |
76 | 84 | "ts-node": "^10.9.2", |
|
0 commit comments