react-auth-code-input
Version:
One-time password (OTP) React input component, uncontrolled, zero dependencies, fully tested.
74 lines (73 loc) • 2.37 kB
JSON
{
"name": "react-auth-code-input",
"version": "3.2.1",
"description": "One-time password (OTP) React input component, uncontrolled, zero dependencies, fully tested.",
"author": "drac94",
"license": "MIT",
"repository": "drac94/react-auth-code-input",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.tsx",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "microbundle-crl --no-compress --format modern,cjs",
"start": "microbundle-crl watch --no-compress --format modern,cjs",
"prepublish": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx src/",
"test:unit": "cross-env CI=1 react-scripts test --env=jest-environment-jsdom-sixteen",
"test:watch": "react-scripts test --env=jest-environment-jsdom-sixteen",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css, md}'"
},
"peerDependencies": {
"react": ">=16.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^13.1.1",
"@types/jest": "^25.1.4",
"@types/node": "^12.12.38",
"@types/react": "^16.9.27",
"@types/react-dom": "^16.9.7",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^2.2.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"microbundle-crl": "^0.13.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.1",
"typescript": "^3.7.5"
},
"files": [
"dist"
],
"keywords": [
"auth",
"react",
"2FA",
"apple",
"input"
],
"dependencies": {}
}