Skip to content

Commit c3cb570

Browse files
authored
Fix(package.json) add types to exports and remove redundant entry point fields (#244)
* fix(package.json): add types to exports and remove redundant entry point fields * fixes #242
1 parent 6363817 commit c3cb570

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
"version": "11.1.0",
44
"description": "The JavaScript Content API Library a.k.a. Content API is an interface handling data coming from the FirstSpirit CaaS and the Navigation Service.",
55
"keywords": [],
6-
"main": "dist/fsxa-api.cjs.js",
7-
"module": "dist/fsxa-api.es5.js",
8-
"types": "dist/types",
96
"exports": {
107
".": {
8+
"types": "./dist/types/index.d.ts",
119
"import": "./dist/fsxa-api.es5.js",
1210
"require": "./dist/fsxa-api.cjs.js"
1311
}

proxy/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"name": "fsxa-proxy-api",
33
"version": "11.1.0",
44
"description": "This package represents the proxy version of the JavaScript Content API Library, running on the client side.",
5-
"main": "dist/fsxa-proxy-api.cjs.js",
6-
"module": "dist/fsxa-proxy-api.es5.js",
7-
"types": "dist/types",
85
"author": "Justin Wiegmann <justin.wiegmann@crownpeak.com>",
96
"contributors": [
107
"Nicolai McAlley <nicolai.mcalley@crownpeak.com>"
@@ -15,6 +12,7 @@
1512
],
1613
"exports": {
1714
".": {
15+
"types": "./dist/types/index.d.ts",
1816
"import": "./dist/fsxa-proxy-api.es5.js",
1917
"require": "./dist/fsxa-proxy-api.cjs.js"
2018
}

0 commit comments

Comments
 (0)