Skip to content

Commit 0e713a2

Browse files
committed
[Breaking] add "exports" to restrict public API
1 parent 547dc14 commit 0e713a2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

package.json

+11
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
"version": "5.0.0-next.0",
44
"description": "tap-producing test harness for node and browsers",
55
"main": "index.js",
6+
"exports": {
7+
".": [
8+
{
9+
"default": "./index.js"
10+
},
11+
"./index.js"
12+
],
13+
"./lib/": "./lib/",
14+
"./package": "./package.json",
15+
"./package.json": "./package.json"
16+
},
617
"bin": "./bin/tape",
718
"directories": {
819
"example": "example",

0 commit comments

Comments
 (0)