|
6 | 6 | "engines": {
|
7 | 7 | "node": "^20 || ^22 || ^24"
|
8 | 8 | },
|
9 |
| - "main": "./dist/index.js", |
10 |
| - "types": "./dist/index.d.ts", |
| 9 | + "main": "./dist/index.cjs", |
| 10 | + "types": "./dist/index.d.cts", |
| 11 | + "module": "./dist/index.js", |
11 | 12 | "exports": {
|
12 |
| - "types": "./dist/index.d.ts", |
13 |
| - "require": "./dist/index.cjs", |
14 |
| - "default": "./dist/index.js" |
| 13 | + ".": { |
| 14 | + "types": "./dist/index.d.cts", |
| 15 | + "import": "./dist/index.js", |
| 16 | + "require": "./dist/index.cjs" |
| 17 | + } |
15 | 18 | },
|
16 | 19 | "homepage": "https://github.com/marcalexiei/eslint-plugin-react-import",
|
17 | 20 | "bugs": {
|
|
32 | 35 | "type": "git",
|
33 | 36 | "url": "git+https://github.com/marcalexiei/eslint-plugin-react-import.git"
|
34 | 37 | },
|
| 38 | + "zshy": { |
| 39 | + "exports": "./src/index.ts" |
| 40 | + }, |
35 | 41 | "scripts": {
|
36 |
| - "build": "rollup --config", |
| 42 | + "build": "zshy", |
37 | 43 | "lint": "pnpm run lint:js && pnpm run lint:docs",
|
38 | 44 | "lint:js": "eslint .",
|
39 | 45 | "lint:js:fix": "eslint . --fix",
|
|
58 | 64 | "@changesets/cli": "2.29.5",
|
59 | 65 | "@marcalexiei/eslint-config": "2.0.3",
|
60 | 66 | "@marcalexiei/prettier-config": "1.1.1",
|
61 |
| - "@rollup/plugin-typescript": "12.1.4", |
62 | 67 | "@types/json-schema": "7.0.15",
|
63 | 68 | "@types/node": "22.13.10",
|
64 | 69 | "@typescript-eslint/parser": "8.36.0",
|
|
68 | 73 | "eslint-plugin-eslint-plugin": "6.5.0",
|
69 | 74 | "eslint-plugin-n": "17.21.0",
|
70 | 75 | "prettier": "3.6.2",
|
71 |
| - "rollup": "4.44.2", |
72 |
| - "tslib": "2.8.1", |
73 | 76 | "typescript": "5.8.3",
|
74 | 77 | "typescript-eslint": "8.36.0",
|
75 |
| - "vitest": "3.2.4" |
| 78 | + "vitest": "3.2.4", |
| 79 | + "zshy": "0.2.2" |
76 | 80 | }
|
77 | 81 | }
|
0 commit comments