Skip to content

Commit 1bcd08f

Browse files
authoredSep 29, 2021
fix: add exports field to package.json (#86)
BREAKING CHANGE: Disallow importing internal files
1 parent 7351933 commit 1bcd08f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎package.json

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"name": "jest-watch-typeahead",
33
"version": "0.6.5",
44
"main": "build/index.js",
5+
"exports": {
6+
".": "./build/index.js",
7+
"./filename": "./build/file_name_plugin/plugin.js",
8+
"./testname": "./build/test_name_plugin/plugin.js",
9+
"./package.json": "./package.json"
10+
},
511
"author": "Rogelio Guzman <rogelioguzmanh@gmail.com>",
612
"description": "Jest plugin for filtering by filename or test name",
713
"license": "MIT",

0 commit comments

Comments
 (0)
Please sign in to comment.