Skip to content

Commit 9804b8f

Browse files
committed
chore: fix package.json
1 parent 406f783 commit 9804b8f

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
"name": "react-native-zstd",
33
"version": "1.0.1",
44
"description": "ZSTD for React Native",
5-
"main": "lib/commonjs/index",
6-
"module": "lib/module/index",
7-
"types": "lib/typescript/index.d.ts",
5+
"source": "./src/index.tsx",
6+
"main": "./lib/module/index.js",
7+
"types": "./lib/typescript/src/index.d.ts",
88
"react-native": "src/index",
9-
"source": "src/index",
9+
"exports": {
10+
".": {
11+
"types": "./lib/typescript/src/index.d.ts",
12+
"default": "./lib/module/index.js"
13+
},
14+
"./package.json": "./package.json"
15+
},
1016
"files": [
1117
"src",
1218
"lib",

0 commit comments

Comments
 (0)