| 
15 | 15 |   "engines": {  | 
16 | 16 |     "node": ">=16.6.0"  | 
17 | 17 |   },  | 
18 |  | -  "types": "./dist/index.d.ts",  | 
 | 18 | +  "type": "commonjs",  | 
19 | 19 |   "exports": {  | 
20 |  | -    "import": {  | 
21 |  | -      "types": "./dist/index.d.mts",  | 
22 |  | -      "default": "./dist/index.mjs"  | 
23 |  | -    },  | 
24 |  | -    "require": {  | 
25 |  | -      "types": "./dist/index.d.ts",  | 
26 |  | -      "default": "./dist/index.js"  | 
 | 20 | +    ".": {  | 
 | 21 | +      "types": "./index.d.ts",  | 
 | 22 | +      "import": "./index.mjs",  | 
 | 23 | +      "require": "./dist/index.js"  | 
27 | 24 |     }  | 
28 | 25 |   },  | 
29 | 26 |   "files": [  | 
30 |  | -    "dist"  | 
 | 27 | +    "dist",  | 
 | 28 | +    "index.js",  | 
 | 29 | +    "index.d.ts"  | 
31 | 30 |   ],  | 
32 | 31 |   "scripts": {  | 
33 |  | -    "build": "tsup src/index.ts --format cjs,esm --dts --out-dir dist --cjsInterop",  | 
 | 32 | +    "build": "tsup src/index.ts --format cjs --out-dir dist",  | 
34 | 33 |     "lint": "eslint .",  | 
35 | 34 |     "fmt": "prettier --write .",  | 
36 | 35 |     "fmt:check": "prettier --check .",  | 
37 | 36 |     "test": "vitest",  | 
38 | 37 |     "test:watch": "vitest --reporter=dot",  | 
39 | 38 |     "ts": "tsc --noEmit"  | 
40 | 39 |   },  | 
 | 40 | +  "peerDependencies": {  | 
 | 41 | +    "eslint": ">=8.40.0",  | 
 | 42 | +    "eslint-plugin-jest": ">=25"  | 
 | 43 | +  },  | 
 | 44 | +  "peerDependenciesMeta": {  | 
 | 45 | +    "eslint-plugin-jest": {  | 
 | 46 | +      "optional": true  | 
 | 47 | +    }  | 
 | 48 | +  },  | 
 | 49 | +  "dependencies": {  | 
 | 50 | +    "globals": "^13.23.0"  | 
 | 51 | +  },  | 
41 | 52 |   "devDependencies": {  | 
42 | 53 |     "@mskelton/eslint-config": "^8.4.0",  | 
43 | 54 |     "@mskelton/semantic-release-config": "^1.0.1",  | 
 | 
55 | 66 |     "tsup": "^8.0.1",  | 
56 | 67 |     "typescript": "^5.2.2",  | 
57 | 68 |     "vitest": "^1.3.1"  | 
58 |  | -  },  | 
59 |  | -  "peerDependencies": {  | 
60 |  | -    "eslint": ">=8.40.0",  | 
61 |  | -    "eslint-plugin-jest": ">=25"  | 
62 |  | -  },  | 
63 |  | -  "peerDependenciesMeta": {  | 
64 |  | -    "eslint-plugin-jest": {  | 
65 |  | -      "optional": true  | 
66 |  | -    }  | 
67 |  | -  },  | 
68 |  | -  "dependencies": {  | 
69 |  | -    "globals": "^13.23.0"  | 
70 | 69 |   }  | 
71 | 70 | }  | 
0 commit comments