UNPKG

react-native-pkce-challenge

Version:

Proof Key for Code Exchange (PKCE) challenge generator for React Native

184 lines (183 loc) 4.18 kB
{ "name": "react-native-pkce-challenge", "version": "6.1.0", "description": "Proof Key for Code Exchange (PKCE) challenge generator for React Native", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-pkce-challenge-example", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "test": "tap tests" }, "keywords": [ "react-native", "react-native-web", "react-native-macos", "PKCE", "oauth2", "jsi", "c++" ], "repository": { "type": "git", "url": "git+https://github.com/dcangulo/react-native-pkce-challenge.git" }, "author": "David Angulo <hello@davidangulo.xyz> (https://github.com/dcangulo)", "license": "MIT", "bugs": { "url": "https://github.com/dcangulo/react-native-pkce-challenge/issues" }, "homepage": "https://github.com/dcangulo/react-native-pkce-challenge#readme", "dependencies": { "js-sha256": "^0.11.0" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "15.0.1", "@react-native/eslint-config": "^0.73.1", "@types/base-64": "^1.0.2", "@types/react": "^18.2.44", "commitlint": "^17.0.2", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "prettier": "^3.0.3", "react": "18.3.1", "react-native": "0.76.2", "react-native-builder-bob": "^0.32.1", "tap": "^18.6.1", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false, "printWidth": 120 } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "codegen", [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "codegenConfig": { "name": "RNPkceChallengeSpec", "type": "all", "jsSrcsDir": "src", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.pkcechallenge" }, "includesGeneratedCode": true }, "create-react-native-library": { "type": "module-new", "languages": "cpp", "version": "0.44.1" }, "tap": { "allow-empty-coverage": true } }