Skip to content

Commit

Permalink
fix(cypress-commands): add main entrypoint (#5051)
Browse files Browse the repository at this point in the history
Some tools like `eslint-plugin-import` rely on the presence of the
`main` field in the package.json.

Fixes #5049
  • Loading branch information
MarcusNotheis authored Sep 11, 2023
1 parent a0b8994 commit 6bbfc85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cypress-commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"version": "1.19.0",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 6bbfc85

Please sign in to comment.