UNPKG

use-password-policy

Version:

A simple, lightweight, and customizable React hook for real-time password strength validation.

46 lines (44 loc) 1.43 kB
{ "name": "use-password-policy", "version": "2.0.0", "private": false, "description": "A simple, lightweight, and customizable React hook for real-time password strength validation.", "license": "MIT", "author": "Rahul Patwa <rahul.y2j@gmail.com>", "repository": { "type": "git", "url": "git+https://github.com/rahulpatwa1303/use-password-policy.git" }, "keywords": [ "react", "hook", "password", "password-policy", "validation", "form", "typescript", "password-strength", "component", "react-component" ], "homepage": "https://rahulpatwa1303.github.io/use-password-policy/", "bugs": { "url": "https://github.com/rahulpatwa1303/use-password-policy/issues" }, "workspaces": [ "demo" ], "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "clean": "rm -rf dist", "build": "npm run clean && npx tsup src/index.ts --format cjs,esm --dts", "dev": "npm run build -- --watch", "prepublishOnly": "npm run build", "deploy:demo": "npm run build && cd demo && npm install && npm run deploy" }, "peerDependencies": { "react": ">=16.8.0", "styled-components": ">=5" }, "devDependencies": { "@types/react": "^18.2.66", "@types/styled-components": "^5.1.34", "react": "^18.2.0", "styled-components": "^6.1.11", "tsup": "^8.0.2", "typescript": "^5.4.5" } }