Skip to content

Commit

Permalink
fix(build): trying to fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
mattallty committed Aug 28, 2023
1 parent 551aa1c commit 2f1d9ef
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
"name": "@caporal/core",
"version": "3.1.4",
"description": "A full-featured framework for building command line applications (cli) with node.js",
"main": "./dist/",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"scripts": {
"lint": "eslint --ext .js,.ts,.tsx .",
Expand Down

0 comments on commit 2f1d9ef

Please sign in to comment.