Skip to content

Commit

Permalink
Add exports field to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1tuma committed Aug 23, 2024
1 parent 2b717c6 commit 6d96d02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .c8rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"functions": 100,
"branches": 100,
"check-coverage": true,
"extension": [".js", ".mjs"],
"extension": [".js"],
"instrument": false,
"src": ".",
"reporter": ["lcov", "text-summary"],
"reportDir": "./target/coverage",
"tempDirectory": "./target/c8-temporary-output",
"exclude": ["target", "test", "benchmarks/", "eslint.config.mjs"]
"exclude": ["target", "test", "benchmarks/", "eslint.config.js"]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"node": ">=20.0.0"
},
"main": "index.js",
"exports": "./index.js",
"files": [
"index.js",
"lib/",
Expand Down

0 comments on commit 6d96d02

Please sign in to comment.