Skip to content

Commit

Permalink
Add exports field
Browse files Browse the repository at this point in the history
  • Loading branch information
f2face committed Oct 24, 2023
1 parent 102925a commit df0f2be
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-cloudflare-r2",
"version": "0.1.4",
"version": "0.1.5",
"description": "S3 wrapper for Cloudflare R2.",
"main": "./lib/index.js",
"scripts": {
Expand All @@ -19,6 +19,18 @@
"files": [
"lib/"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.js"
},
"./types": {
"types": "./lib/types.d.ts",
"import": "./lib/types.js",
"require": "./lib/types.js"
}
},
"license": "ISC",
"author": "Surya Oktafendri <[email protected]>",
"repository": {
Expand Down

0 comments on commit df0f2be

Please sign in to comment.