Skip to content

Commit

Permalink
fix: add exports field to package.json (#86)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Disallow importing internal files
  • Loading branch information
SimenB committed Sep 29, 2021
1 parent 7351933 commit 1bcd08f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "jest-watch-typeahead",
"version": "0.6.5",
"main": "build/index.js",
"exports": {
".": "./build/index.js",
"./filename": "./build/file_name_plugin/plugin.js",
"./testname": "./build/test_name_plugin/plugin.js",
"./package.json": "./package.json"
},
"author": "Rogelio Guzman <rogelioguzmanh@gmail.com>",
"description": "Jest plugin for filtering by filename or test name",
"license": "MIT",
Expand Down

0 comments on commit 1bcd08f

Please sign in to comment.