UNPKG

react-native-confirmation-code-field

Version:

A react-native component to input confirmation code for both Android and IOS

90 lines (89 loc) 2.75 kB
{ "name": "react-native-confirmation-code-field", "version": "8.0.1", "main": "esm/index.js", "types": "esm/index.d.ts", "files": [ "esm", "!__tests__" ], "scripts": { "ci": "yarn lint && yarn test && yarn build && yarn size", "size": "size-limit", "format": "prettier --write src/*.{js,ts,tsx}", "test": "jest --coverage", "lint": "eslint './src/*.{js,ts,tsx}' --quiet", "ts": "tsc --noEmit", "build": "rm -rf node_modules/@types/react-native && rm -rf esm && tsc --outDir esm && yarn postbuild", "postbuild": "prettier --write esm/*.js esm/*.d.ts", "docs": "yarn doctoc API.md", "prepublishOnly": "yarn docs && yarn build" }, "peerDependencies": { "react": ">=16.4.0", "react-native": ">=0.64.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-native": { "optional": true } }, "resolutions": { "@types/jest": "^29.5.14", "@types/react": "^19.0.10" }, "devDependencies": { "@size-limit/preset-app": "^11.2.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/react-native": "^13.0.1", "@tsconfig/react-native": "^3.0.5", "@types/jest": "^29.5.14", "@types/react": "^19.0.10", "@types/react-test-renderer": "^19.0.0", "@typescript-eslint/eslint-plugin": "^8.24.1", "@typescript-eslint/parser": "^8.24.1", "babel-plugin-react-compiler": "^19.1.0-rc.2", "doctoc": "^2.2.1", "eslint": "^8.57.1", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-compiler": "^19.1.0-rc.2", "eslint-plugin-react-hooks": "^6.0.0-rc.1", "jest": "^29.7.0", "prettier": "^3.5.1", "react": "^19.0.0", "react-compiler-runtime": "^19.1.0-rc.2", "react-native": "^0.77.1", "react-native-test-app": "^4.3.10", "react-test-renderer": "^19.0.0", "size-limit": "^11.2.0", "typescript": "^5.7.3" }, "author": "David <4661784+retyui@users.noreply.github.com>", "description": "A react-native component to input confirmation code for both Android and IOS", "homepage": "https://github.com/retyui/react-native-confirmation-code-field#readme", "bugs": "https://github.com/retyui/react-native-confirmation-code-field/issues", "repository": { "type": "git", "url": "https://github.com/retyui/react-native-confirmation-code-field" }, "license": "MIT", "keywords": [ "react", "react-component", "react-native", "react-native-component", "android", "ios", "code-input", "confirmation-code", "pin-code", "confirmation-code-input", "pin-code-input" ], "packageManager": "yarn@4.6.0" }