Skip to content

Commit

Permalink
fix: Exporter correctement les types.
Browse files Browse the repository at this point in the history
  • Loading branch information
regseb committed May 14, 2023
1 parent 5020b71 commit 65da4cb
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,30 @@
"author": "Sébastien Règne <[email protected]> (https://github.com/regseb)",
"funding": "https://www.paypal.me/sebastienregne",
"files": [
"src/",
"types/"
"./src/",
"./types/"
],
"main": "src/index.js",
"exports": {
".": "./src/index.js",
"./cron": "./src/cron.js",
"./cronexp": "./src/cronexp.js",
"./at": "./src/at.js",
".": {
"default": "./src/index.js",
"types": "./types/index.d.ts"
},
"./cron": {
"default": "./src/cron.js",
"types": "./types/cron.d.ts"
},
"./cronexp": {
"default": "./src/cronexp.js",
"types": "./types/cronexp.d.ts"
},
"./at": {
"default": "./src/at.js",
"types": "./types/at.d.ts"
},
"./package.json": "./package.json"
},
"types": "types/index.d.ts",
"main": "./src/index.js",
"types": "./types/index.d.ts",
"repository": "regseb/cronnor",
"type": "module",
"scripts": {
Expand Down

0 comments on commit 65da4cb

Please sign in to comment.