UNPKG

@polls-platform/react-native

Version:

React Native SDK for Polls Platform

139 lines (138 loc) 3.27 kB
{ "name": "@polls-platform/react-native", "version": "3.0.0", "description": "React Native SDK for Polls Platform", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "react-native-polls.podspec", "!lib/typescript/example", "!android/build", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "release": "release-it", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn && yarn example pods", "generateDocs": "jsdoc -c jsdoc.json -r" }, "keywords": [ "polls", "polls platform", "react-native", "ios", "android" ], "author": "Polls Platform <dev@pollsplatform.com> (https://docs.pollsplatform.com)", "license": "MIT", "homepage": "https://docs.pollsplatform.com", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "devDependencies": { "@arkweid/lefthook": "^0.7.7", "@babel/eslint-parser": "^7.18.2", "@commitlint/config-conventional": "^17.0.2", "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.68.0", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.33.1", "@typescript-eslint/parser": "^5.33.1", "better-docs": "^2.7.2", "commitlint": "^17.0.2", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.1", "jsdoc": "^3.6.11", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "17.0.2", "react-native": "0.68.2", "react-native-builder-bob": "^0.18.3", "react-native-webview": "^11.22.7", "release-it": "^15.0.0", "typescript": "^4.7.4" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-webview": "*" }, "jest": { "preset": "react-native", "roots": [ "<rootDir>", "./" ], "moduleDirectories": [ "node_modules", "./" ], "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "dependencies": { "@polls-platform/core": "3.0.0" } }