UNPKG

react-native-appwrite-oauth

Version:

React Native component that implements the OAuth2 flow for the Appwrite BaaS. It's based on a Modal implementation

168 lines (167 loc) 4.27 kB
{ "name": "react-native-appwrite-oauth", "version": "0.3.4", "description": "React Native component that implements the OAuth2 flow for the Appwrite BaaS. It's based on a Modal implementation", "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-appwrite-oauth.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", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods" }, "keywords": [ "react-native", "ios", "android", "Appwrite", "OAuth2" ], "repository": "https://github.com/DiegoBM/react-native-appwrite-oauth", "author": "Diego de Blas Mateo (https://github.com/DiegoBM)", "license": "MIT", "bugs": { "url": "https://github.com/DiegoBM/react-native-appwrite-oauth/issues" }, "homepage": "https://github.com/DiegoBM/react-native-appwrite-oauth#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^11.0.0", "@react-native-community/eslint-config": "^2.0.0", "@react-native-cookies/cookies": "^6.2.1", "@release-it/conventional-changelog": "^2.0.0", "@types/jest": "^26.0.23", "@types/react": "^18.0.21", "@types/react-native": "^0.70.6", "@types/react-test-renderer": "^18.0.0", "appwrite": "^10.1.0", "commitlint": "^11.0.0", "eslint": "^7.2.0", "eslint-config-prettier": "^7.0.0", "eslint-plugin-prettier": "^3.1.3", "husky": "^4.2.5", "jest": "^26.6.3", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.1.0", "react-native": "0.70.6", "react-native-builder-bob": "^0.18.0", "react-native-webview": "^11.26.0", "react-test-renderer": "^18.1.0", "release-it": "^14.2.2", "typescript": "^4.8.3" }, "peerDependencies": { "@react-native-cookies/cookies": "*", "appwrite": "*", "react-native-webview": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ], "transformIgnorePatterns": [ "node_modules/(?!(react-native|react-native-webview|@react-native-cookies)/)" ], "setupFiles": [ "<rootDir>/jestSetup.js" ] }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "yarn lint && yarn typescript" } }, "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" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }