input-otp-native
Version:
One time passcode Input For React Native/Expo. Unstyled and fully customizable.
187 lines (186 loc) • 4.31 kB
JSON
{
"name": "input-otp-native",
"version": "0.4.0",
"description": "One time passcode Input For React Native/Expo. Unstyled and fully customizable.",
"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"
],
"scripts": {
"example": "yarn workspace input-otp-native-example",
"test": "jest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli lib",
"prepare": "bob build",
"release": "release-it"
},
"keywords": [
"react-native",
"otp",
"otp-input",
"react-native-otp-input",
"expo-otp-input"
],
"repository": {
"type": "git",
"url": "git+https://github.com/yjose/input-otp-native.git"
},
"author": "Youssouf EL Azizi <youssoufelazizi@gmail.com> (https://github.com/yjose)",
"license": "MIT",
"bugs": {
"url": "https://github.com/yjose/input-otp-native/issues"
},
"homepage": "https://github.com/yjose/input-otp-native#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.5.0",
"@evilmartians/lefthook": "^1.5.0",
"@react-native/babel-preset": "^0.76.5",
"@react-native/eslint-config": "^0.73.1",
"@release-it/conventional-changelog": "^9.0.2",
"@testing-library/react-native": "^12.9.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.44",
"commitlint": "^19.6.1",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react": "18.3.1",
"react-native": "0.76.5",
"react-native-builder-bob": "^0.35.2",
"react-test-renderer": "18.3.1",
"release-it": "^17.10.0",
"typescript": "^5.2.2"
},
"resolutions": {
"@types/react": "^18.2.44"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@3.6.1",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|@react-native|@react-native-community|react-native-reanimated)"
],
"setupFilesAfterEnv": [
"@testing-library/react-native/extend-expect"
]
},
"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": {
"name": "angular"
},
"infile": "CHANGELOG.md"
}
}
},
"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
}
]
}
},
"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",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json",
"esm": true
}
]
]
},
"create-react-native-library": {
"languages": "js",
"type": "library",
"version": "0.45.5"
}
}