UNPKG

@capsitech/idle-timer

Version:

Activity detection for React.js

86 lines (85 loc) 2.56 kB
{ "name": "@capsitech/idle-timer", "version": "1.0.3", "description": "Activity detection for React.js", "main": "./dist/index.cjs.js", "module": "./dist/index.esm.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs.js", "import": "./dist/index.esm.js" }, "./legacy": { "types": "./dist/index.d.ts", "require": "./dist/index.legacy.cjs.js", "import": "./dist/index.legacy.esm.js" } }, "scripts": { "start": "storybook dev -p 6006", "build": "node scripts/build.js && tsc --emitDeclarationOnly", "build:publish": "yarn && npm version patch && yarn build && npm publish" }, "keywords": [ "react", "idle", "idle timer", "timer", "activity", "active", "timeout", "session", "session expiration", "session timeout" ], "publishConfig": { "access": "public" }, "author": "Mukesh Jangid <mukesh@capsitech.com> (https://github.com/mukesh-capsitech)", "homepage": "https://github.com/capsitech/Capsitech.IdleTimer#readme", "license": "UNLICENSED", "repository": { "url": "git+https://github.com/capsitech/Capsitech.IdleTimer.git" }, "peerDependencies": { "react": ">=17", "react-dom": ">=17" }, "devDependencies": { "@babel/preset-env": "^7.26.0", "@babel/preset-react": "^7.25.9", "@babel/preset-typescript": "^7.26.0", "@storybook/addon-actions": "^8.4.2", "@storybook/addon-essentials": "^8.4.2", "@storybook/addon-links": "^8.4.2", "@storybook/addon-storysource": "^8.4.2", "@storybook/addon-webpack5-compiler-babel": "3.0.3", "@storybook/react": "^8.4.2", "@storybook/react-webpack5": "^8.4.2", "@swc/helpers": "^0.5.13", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@typescript-eslint/eslint-plugin": "^8.13.0", "@typescript-eslint/parser": "^8.13.0", "esbuild": "^0.24.0", "esbuild-plugin-es5": "^2.1.1", "eslint": "^9.14.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-react": "^7.37.2", "fs-extra": "^11.2.0", "nps-utils": "^1.7.0", "react": "^18.3.1", "react-dom": "^18.3.1", "storybook": "8.4.2", "typescript": "^4.9.5", "worker-timers": "^8.0.11" }, "eslintConfig": { "extends": "react-app" }, "packageManager": "yarn@4.5.1" }