Skip to content

Commit

Permalink
[Breaking] add exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 13, 2021
1 parent a3f5337 commit 222b068
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -15,7 +15,11 @@
"description": "Ensure that when you `npm publish`, the \"latest\" tag is only set for the truly latest version.",
"license": "MIT",
"bin": "bin/safe-publish-latest",
"main": "getLatestError.js",
"main": "./getLatestError.js",
"exports": {
".": "./getLatestError.js",
"./package.json": "./package.json"
},
"scripts": {
"pretest": "npm run --silent lint",
"prepublish": "not-in-publish || npm run prepublishOnly",
Expand Down

0 comments on commit 222b068

Please sign in to comment.