UNPKG

@afex-dapps/idle-timer

Version:

Idle Timer library for detecting user inactivity and managing session timeouts

66 lines 1.67 kB
{ "name": "@afex-dapps/idle-timer", "description": "Idle Timer library for detecting user inactivity and managing session timeouts", "version": "1.1.4", "type": "module", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "author": { "email": "designapps@africaexchange.com", "name": "AFEX", "url": "https://afex.africa" }, "private": false, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "devDependencies": { "react-idle-timer": "^5.7.2" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "license": "MIT", "keywords": [ "idle-timer", "inactivity", "session-timeout", "react", "typescript", "AFEX" ], "scripts": { "test": "vitest --run coverage", "build": "tsup", "dry-run": "pnpm publish --dry-run --no-git-checks", "pre-patch": "pnpm version prepatch", "patch": "pnpm version patch", "pre-minor": "pnpm version preminor", "minor": "pnpm version minor", "pre-major": "pnpm version premajor", "major": "pnpm version major", "preversion": "tsc --noEmit", "version": "pnpm run commit", "precommit": "standard-changelog --path apps/idle-timer", "commit": "git add .", "postcommit": "git commit --message $npm_package_version", "postversion": "pnpm publish --access public" } }