Skip to content

Commit

Permalink
Merge pull request #46 from nythrox/ike/esm-support
Browse files Browse the repository at this point in the history
Support esm
  • Loading branch information
ikezedev authored Jun 12, 2022
2 parents 3f8cb03 + 71a759b commit 1ff90d9
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "purifree-ts",
"version": "1.2.2",
"version": "1.2.3",
"description": "Point-free Functional programming library for TypeScript",
"main": "index.js",
"types": "index.d.ts",
"repository": "https://github.com/nythrox/purifree.git",
"author": "nythrox <jasonsantiagobutler@gmail.com>",
"license": "MIT",
Expand All @@ -26,6 +24,30 @@
],
"collectCoverage": true
},
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"import": {
"types": "./es/index.d.ts",
"default": "./es/index.js"
},
"require": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./*": {
"import": {
"types": "./es/*.d.ts",
"default": "./es/*.js"
},
"require": {
"types": "./*.d.ts",
"default": "./*.js"
}
}
},
"devDependencies": {
"@types/jest": "27.4.1",
"jest": "27.5.1",
Expand Down

0 comments on commit 1ff90d9

Please sign in to comment.