UNPKG

react-otp-input

Version:

A fully customizable, one-time password input component for the web built with React

60 lines (59 loc) 1.83 kB
{ "name": "react-otp-input", "version": "3.1.1", "description": "A fully customizable, one-time password input component for the web built with React", "main": "lib/index.js", "module": "lib/index.esm.js", "types": "lib/index.d.ts", "scripts": { "build": "rollup -c", "format": "prettier --write \"**/*.{html,css,js,jsx}\"", "lint": "eslint 'src/**/*.{js,jsx}' --quiet", "lint:fix": "eslint 'src/**/*.{js,jsx}' --fix", "prepublishOnly": "rm -rf dist && npm run build", "example:build": "cd example && yarn && yarn build" }, "keywords": [ "otp", "input", "code", "passcode", "component" ], "peerDependencies": { "react": ">=16.8.6 || ^17.0.0 || ^18.0.0", "react-dom": ">=16.8.6 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@rollup/plugin-typescript": "11.0.0", "@types/react": "18.0.28", "@types/react-dom": "18.0.11", "@typescript-eslint/eslint-plugin": "5.55.0", "@typescript-eslint/parser": "5.55.0", "concurrently": "6.2.0", "eslint": "7.27.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-import": "2.23.3", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-react": "7.23.2", "eslint-plugin-react-hooks": "4.2.0", "gh-pages": "3.2.3", "prettier": "2.3.0", "react": "18.2.0", "react-dom": "18.2.0", "rollup": "2.79.1", "rollup-plugin-peer-deps-external": "2.2.4", "typescript": "5.0.2" }, "author": "Devfolio <engineering@devfolio.co> (https://devfolio.co)", "license": "MIT", "homepage": "https://devfolioco.github.io/react-otp-input", "repository": { "type": "git", "url": "https://github.com/devfolioco/react-otp-input" }, "bugs": { "url": "https://github.com/devfolioco/react-otp-input/issues" } }