UNPKG

react-pattern-lock-ts

Version:

PatternLock is a lightweight and customizable React component for implementing a secure and interactive pattern lock system. Perfect for authentication, games, or creative applications, it supports touch and mouse interactions with real-time state updates

60 lines (59 loc) 1.66 kB
{ "name": "react-pattern-lock-ts", "version": "3.2.5", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "description": "PatternLock is a lightweight and customizable React component for implementing a secure and interactive pattern lock system. Perfect for authentication, games, or creative applications, it supports touch and mouse interactions with real-time state updates.", "type": "module", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./lib/index.js", "types": "./lib/index.d.ts" }, "./style.css": "./lib/style.css" }, "scripts": { "build": "rimraf lib && tsc && npm run copy-files", "copy-files": "copyfiles -u 1 src/**/*.css lib/", "prepare": "npm run build" }, "keywords": [ "react-pattern-lock-ts", "react", "pattern lock", "pattern-lock", "react-component", "authentication", "secure-lock", "drag-gesture", "interactive-ui", "customizable", "react-hook", "touch-supported", "mouse-events", "UI-components", "front-end", "web-development", "performance", "lightweight", "javascript", "typescript" ], "devDependencies": { "@types/react": "^18.0.0", "copyfiles": "^2.4.1", "react": "^18.0.0", "react-dom": "^18.0.0" }, "author": "Mohammad Gholami", "license": "MIT", "files": [ "lib/**/*", "LICENSE.md" ] }