UNPKG

@area2-ai/a2-react-keystroke-package

Version:

This package enables secure and efficient collection of user keystroke data through hooks, designed for both desktop and mobile platforms. The collected data is processed by **area2** servers to generate a neuroprofile, which reflects key cognitive, behav

90 lines (89 loc) 1.98 kB
{ "name": "@area2-ai/a2-react-keystroke-package", "version": "1.1.1", "author": "Mauro Ruiz", "module": "dist/a2-react-keystroke-package.esm.js", "keywords": [ "react", "hook", "keystroke", "keyboard", "area2", "a2" ], "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist" ], "homepage": "https://docs.area2-ai.com/", "release": { "branches": [ "main" ] }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why", "push:npm": "np", "login:npm": "npm login", "test-who": "npm whoami" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "size-limit": [ { "path": "dist/a2-react-keystroke-package.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/a2-react-keystroke-package.esm.js", "limit": "10 KB" } ], "peerDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@size-limit/preset-small-lib": "^11.1.6", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "axios": "^1.8.4", "dotenv": "^16.4.7", "husky": "^9.1.7", "np": "^10.2.0", "react": "^18.3.1", "react-dom": "^18.3.1", "rollup-plugin-dotenv": "^0.5.1", "size-limit": "^11.1.6", "tsdx": "^0.14.1", "tslib": "^2.8.1", "typescript": "~5.6.2" }, "dependencies": { "@area2-ai/a2-node-keystroke-package": "^0.2.0", "react-device-detect": "^2.2.3" } }