diff --git a/package.json b/package.json index f9f6435..d189d2c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,21 @@ { "name": "react-native-tooltip-2", - "version": "0.1.3", + "version": "0.1.4", "description": "Customizable, easy to use tooltip for React Native", "main": "./build/dist/index.js", + "types": "./build/dist/index.d.ts", + "exports": { + ".": { + "types": "./build/dist/index.d.ts", + "default": "./build/dist/index.js" + }, + "./package.json": "./package.json" + }, + "files": [ + "build/dist", + "README.md", + "LICENSE" + ], "repository": "git@github.com:WrathChaos/react-native-tooltip-2.git", "author": "FreakyCoder ", "license": "MIT", @@ -25,6 +38,10 @@ "dependencies": { "react-fast-compare": ">= 3.2.0" }, + "peerDependencies": { + "react": ">=17.0.0", + "react-native": ">=0.64.0" + }, "devDependencies": { "@commitlint/cli": "^15.0.0", "@commitlint/config-conventional": "^15.0.0",