diff --git a/package.json b/package.json index 71fcbce..46270af 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,20 @@ { "name": "react-native-poll", - "version": "1.0.0", + "version": "1.0.1", "description": "Voting and poll library for React Native with fully customizable options", "main": "./build/dist/RNPoll.js", + "types": "./build/dist/RNPoll.d.ts", + "exports": { + ".": { + "types": "./build/dist/RNPoll.d.ts", + "default": "./build/dist/RNPoll.js" + }, + "./package.json": "./package.json" + }, + "files": [ + "build/dist", + "README.md" + ], "repository": "git@github.com:WrathChaos/react-native-poll-starter.git", "author": "FreakyCoder ", "license": "MIT", @@ -25,7 +37,9 @@ "rn" ], "peerDependencies": { - "@freakycoder/react-native-bounceable": ">= 1.0.3" + "@freakycoder/react-native-bounceable": ">= 1.0.3", + "react": ">=17.0.0", + "react-native": ">=0.64.0" }, "devDependencies": { "@commitlint/cli": "^15.0.0",