Skip to content

Commit

Permalink
Merge pull request #18 from jgoux/fix-esm-exports
Browse files Browse the repository at this point in the history
fix(esm): add exports map to package.json
  • Loading branch information
crutchcorn authored May 31, 2022
2 parents c55d328 + f4ba659 commit a845e04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
"version": "0.0.0-semantically-released",
"description": "Simple and complete CLI testing utilities that encourage good testing practices.",
"main": "dist/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./dist/cli-testing-library.cjs.js",
"import": "./dist/cli-testing-library.esm.js"
},
"./extend-expect": {
"types": "./extend-expect.d.ts",
"require": "./dist/extend-expect.js",
"import": "./dist/extend-expect.js"
}
},
"types": "types/index.d.ts",
"module": "dist/cli-testing-library.esm.js",
"umd:main": "dist/cli-testing-library.umd.js",
Expand Down

0 comments on commit a845e04

Please sign in to comment.