UNPKG

react-otp-field

Version:

Customizable OTP Field component for the web built with React.js

69 lines (68 loc) 2.32 kB
{ "name": "react-otp-field", "version": "3.0.1", "description": "Customizable OTP Field component for the web built with React.js", "main": "./lib/index.js", "typings": "./typings/index.d.ts", "scripts": { "dev": "concurrently \"npm run build:watch\" \"npm run demo:dev\"", "build": "babel src/lib -d lib", "build:watch": "babel src/lib -w -d lib", "format": "prettier --write \"**/*.{html,css,js,jsx}\"", "demo:dev": "webpack-dev-server --mode development", "demo:build": "webpack --mode production", "lint": "eslint 'src/**/*.{js,jsx}' --quiet", "lint:fix": "eslint 'src/**/*.{js,jsx}' --fix", "prepublish": "npm run build", "predeploy": "npm run demo:build", "deploy": "gh-pages -d demo" }, "repository": { "type": "git", "url": "git+https://github.com/coded-bear/react-otp-field.git" }, "keywords": [ "otp", "otp input", "otp field", "react otp input", "react otp field" ], "author": "Łukasz Warchoł", "homepage": "https://coded-bear.github.io/react-otp-field", "license": "MIT", "bugs": { "url": "https://github.com/coded-bear/react-otp-field/issues" }, "devDependencies": { "@babel/cli": "^7.19.3", "@babel/core": "^7.19.3", "@babel/eslint-parser": "^7.19.1", "@babel/preset-env": "^7.19.4", "@babel/preset-react": "^7.18.6", "babel-loader": "^8.2.5", "concurrently": "^7.4.0", "css-loader": "^6.7.1", "eslint": "^8.25.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.10", "eslint-plugin-react-hooks": "^4.6.0", "gh-pages": "^4.0.0", "html-webpack-plugin": "^5.5.0", "prettier": "^2.7.1", "react": "^18.2.0", "react-dom": "^18.2.0", "sass": "^1.55.0", "sass-loader": "^13.1.0", "style-loader": "^3.3.1", "webpack": "^5.74.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.11.1" }, "dependencies": { "classnames": "^2.3.2" } }