Skip to content

Commit

Permalink
add exports field accordingly with the build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Sep 20, 2022
1 parent a90601a commit a0f3970
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,39 @@
"module": "./es6/index.js",
"typings": "lib/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"require": "./lib/index.js",
"import": "./es6/index.js",
"types": "./lib/index.d.ts"
},
"./HKT": {
"require": "./lib/HKT.js",
"import": "./es6/HKT.js",
"types": "./HKT.d.ts"
},
"./*": {
"require": "./lib/*.js",
"import": "./es6/*.js",
"types": "./lib/*.d.ts"
},
"./es6/HKT": {
"import": "./es6/HKT.js",
"types": "./HKT.d.ts"
},
"./es6/*": {
"import": "./es6/*.js",
"types": "./lib/*.d.ts"
},
"./lib/HKT": {
"require": "./lib/HKT.js",
"types": "./HKT.d.ts"
},
"./lib/*": {
"require": "./lib/*.js",
"types": "./lib/*.d.ts"
}
},
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.ts\"",
"jest-clear-cache": "jest --clearCache",
Expand Down

0 comments on commit a0f3970

Please sign in to comment.