UNPKG

inactivejs

Version:

Detect when a user is idle or change tabs

42 lines (41 loc) 1.19 kB
{ "name": "inactivejs", "version": "0.1.1", "description": "Detect when a user is idle or change tabs", "keywords": [ "idle", "inactive", "inactivity", "timer" ], "main": "dist/index.js", "scripts": { "webpack:base": "node_modules/webpack/bin/webpack.js --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "dev:base": "NODE_ENV=development yarn webpack:base", "dev": "yarn dev:base --progress", "dev:silent": "yarn dev --define disable-notifications", "watch": "yarn dev --watch", "watch:silent": "yarn dev:silent --watch", "prod": "NODE_ENV=production yarn webpack:base", "lint": "eslint -c .eslintrc.prod.json --ext js src", "lint:fix": "yarn lint --fix", "prepare": "yarn prod" }, "author": "Firework Web & Mobile", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/fireworkweb/inactivejs.git" }, "bugs": { "url": "https://github.com/fireworkweb/inactivejs/issues" }, "devDependencies": { "babel-preset-env": "^1.6.1", "eslint": "^4.19.1", "laravel-mix": "^2.1.11" }, "dependencies": { "lodash.throttle": "^4.1.1" } }