diff --git a/package.json b/package.json index 2ab0367..12c1e60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-toggle-button", - "version": "0.1.0", + "version": "0.1.1", "description": "Cool and easy to use react native toggle button", "main": "./build/dist/ToggleButton.js", "repository": "git@github.com:WrathChaos/react-native-toggle-button.git", @@ -53,5 +53,17 @@ "husky:setup": "npx husky-init && npm run husky:commitlint && npm run husky:prettier", "husky:commitlint": "npx husky add .husky/commit-msg 'npx --no-install commitlint --edit'", "husky:prettier": "npx husky add .husky/pre-commit 'npm run prettier'" - } + }, + "types": "./build/dist/ToggleButton.d.ts", + "exports": { + ".": { + "types": "./build/dist/ToggleButton.d.ts", + "default": "./build/dist/ToggleButton.js" + }, + "./package.json": "./package.json" + }, + "files": [ + "build/dist", + "!build/dist/tsconfig.tsbuildinfo" + ] }