Skip to content

Commit 6bbfc85

Browse files
fix(cypress-commands): add main entrypoint (#5051)
Some tools like `eslint-plugin-import` rely on the presence of the `main` field in the package.json. Fixes #5049
1 parent a0b8994 commit 6bbfc85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cypress-commands/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"version": "1.19.0",
77
"type": "module",
88
"types": "./dist/index.d.ts",
9+
"main": "./dist/index.js",
910
"exports": {
1011
".": {
1112
"types": "./dist/index.d.ts",
1213
"default": "./dist/index.js"
13-
}
14+
},
15+
"./package.json": "./package.json"
1416
},
1517
"repository": {
1618
"type": "git",

0 commit comments

Comments
 (0)