Skip to content

Commit 5d23ce0

Browse files
authored
build: add exports field to package.json (#893)
BREAKING CHANGE See https://nodejs.org/api/packages.html#packages_package_entry_points
1 parent e03ec19 commit 5d23ce0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"description": "Jest preset configuration for Angular projects",
55
"license": "MIT",
66
"main": "build/index.js",
7+
"exports": {
8+
".": "./dist/index.js",
9+
"./presets": "./jest-preset.js",
10+
"./setup-jest": "./setup-jest.js",
11+
"./ngcc-jest-processor": "./ngcc-jest-processor.js",
12+
"./package.json": "./package.json"
13+
},
714
"repository": {
815
"type": "git",
916
"url": "git+https://github.com/thymikee/jest-preset-angular.git"

0 commit comments

Comments
 (0)