UNPKG

validate-password-checklist

Version:

A Javascript utility which can add rules to a password and return the status of each validation

114 lines 4.02 kB
{ "name": "validate-password-checklist", "version": "0.1.13", "description": "A Javascript utility which can add rules to a password and return the status of each validation", "keywords": [ "password", "validate-password-checklist", "password-strength", "password-input", "password-strength-bar", "react", "react-password" ], "homepage": "https://github.com/tiavina-mika/validate-password-checklist", "bugs": { "url": "https://github.com/tiavina-mika/validate-password-checklist/issues" }, "author": { "name": "Tiavina Michael Ralainirina", "email": "tiavinamika@gmail.com", "github": "https://github.com/tiavina-mika" }, "license": "MIT", "type": "module", "types": "./dist/index.d.ts", "main": "dist/index.js", "module": "dist/esm/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/esm/index.js" }, "./icons": { "types": "./dist/icons/index.d.ts", "require": "./dist/icons/index.js", "import": "./dist/esm/icons/index.js" } }, "files": [ "/dist" ], "publishConfig": { "access": "public" }, "scripts": { "clean": "rimraf dist", "dev": "vite", "build": "yarn clean && tsc --project tsconfig.build.json && tsc --project tsconfig.build-esm.json && yarn copy-files && yarn copy-files-esm && yarn fixImportExtension", "prepare": "npm run build", "preview": "vite preview", "type:check": "tsc --noEmit", "format": "prettier --write .", "format:check": "prettier --check .", "lint:check": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx src", "lint": "eslint . --ext ts,tsx --fix --report-unused-disable-directives --max-warnings 0", "md-link:check": "markdown-link-check -v -p README.md -v -p CONTRIBUTING.md -v -p .github/**/*.md -c .markdown-link-check-config.json", "spell:check": "cspell \"{README.md,CONTRIBUTING.md,.github/*.md}\"", "visualize": "npx vite-bundle-visualizer", "publish": "yarn build && yarn npm publish && yarn example", "copy-files": "copyfiles -u 1 src/*types.d.ts dist/", "copy-files-esm": "copyfiles -u 1 src/*types.d.ts dist/esm", "clean-cache": "yarn cache clean --all", "fixImportExtension": "ts-add-js-extension --dir=dist", "example": "cd example && yarn upgrade && rimraf ./example/node_modules && yarn && yarn dev", "test": "jest", "test:watch": "jest watch", "test:coverage": "jest --coverage" }, "peerDependencies": { "@emotion/react": "^11.11.3", "@mui/material": "^5.15.2", "react": "^16.8.0 || ^17.0.2 || ^18.2.0", "react-dom": "^16.8.0 || ^17.0.2 || ^18.2.0" }, "devDependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.5", "@mui/material": "^5.15.2", "@types/jest": "^29.5.12", "@types/react": "^18.2.43", "@types/react-dom": "^18.2.17", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.20.0", "@vitejs/plugin-react": "^4.2.1", "babel-plugin-module-resolver": "^5.0.0", "copyfiles": "^2.4.1", "cspell": "^6.31.1", "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-next": "^14.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-jest": "^28.6.0", "eslint-plugin-prefer-arrow-functions": "^3.2.4", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", "jest": "^29.7.0", "markdown-link-check": "^3.12.1", "prettier": "^3.2.2", "prettier-plugin-organize-imports": "^3.2.4", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", "ts-add-js-extension": "^1.6.4", "ts-jest": "^29.1.4", "typescript": "^5.2.2", "vite": "5.0.8", "vite-tsconfig-paths": "^4.3.1" }, "packageManager": "yarn@4.2.1" }