UNPKG

react-native-otp-inputs

Version:

One-time password inputs built in pure JS for React-Native

125 lines (124 loc) 3.2 kB
{ "name": "react-native-otp-inputs", "version": "7.4.0", "description": "One-time password inputs built in pure JS for React-Native", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/index.d.ts", "react-native": "src/index.tsx", "files": [ "src", "lib" ], "scripts": { "bootstrap": "yarn example && yarn && husky install", "example": "yarn --cwd Example", "lint": "eslint --ext .js,.ts,.tsx .", "prepare": "bob build", "release": "release-it --ci", "test": "jest --coverage --runInBand --detectOpenHandles", "test:unit": "jest -u", "test:watch": "jest --watch", "typescript": "tsc --noEmit" }, "repository": "https://github.com/dsznajder/react-native-otp-inputs", "author": " Damian Sznajder <damsznajder@gmail.com>, Michal Kantor <kantorm96@gmail.com>", "license": "MIT", "keywords": [ "otp", "react-native", "one-time-password", "one-time-code", "inputs" ], "devDependencies": { "@babel/core": "7.18.6", "@babel/preset-typescript": "7.18.6", "@commitlint/config-conventional": "17.0.3", "@react-native-clipboard/clipboard": "1.10.0", "@react-native-community/bob": "0.17.1", "@release-it/conventional-changelog": "5.0.0", "@types/jest": "28.1.3", "@types/react": "18.0.14", "@types/react-native": "0.69.1", "commitlint": "17.0.3", "eslint": "8.18.0", "eslint-config-satya164": "3.1.11", "eslint-plugin-simple-import-sort": "7.0.0", "husky": "8.0.1", "jest": "28.1.2", "metro-react-native-babel-preset": "0.71.2", "prettier": "2.7.1", "react": "~17.0.2", "react-native": "0.69.1", "react-native-builder-bob": "0.18.3", "react-test-renderer": "~17.0.2", "release-it": "15.1.1", "typescript": "4.7.4" }, "peerDependencies": { "@react-native-clipboard/clipboard": "*", "react": "*", "react-native": "*" }, "jest": { "preset": "react-native" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "prettier": { "bracketSpacing": true, "bracketSameLine": false, "printWidth": 100, "semi": true, "singleQuote": true, "tabWidth": 2, "trailingComma": "all", "useTabs": false }, "husky": { "hooks": { "pre-commit": "yarn lint && yarn typescript", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "release-it": { "git": { "requireUpstream": true, "tag": true, "tagName": "react-native-otp-inputs@${version}", "commit": true, "commitMessage": "chore(:bookmark:): react-native-otp-inputs ${version}" }, "github": { "release": true, "releaseName": "react-native-otp-inputs@${version}", "draft": false }, "npm": { "publish": false }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }