Skip to content

Commit

Permalink
[Breaking] add "exports" to restrict public API
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 27, 2019
1 parent 547dc14 commit 0e713a2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
"version": "5.0.0-next.0",
"description": "tap-producing test harness for node and browsers",
"main": "index.js",
"exports": {
".": [
{
"default": "./index.js"
},
"./index.js"
],
"./lib/": "./lib/",
"./package": "./package.json",
"./package.json": "./package.json"
},
"bin": "./bin/tape",
"directories": {
"example": "example",
Expand Down

0 comments on commit 0e713a2

Please sign in to comment.