browser-interaction-time
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "browser-interaction-time", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "", | ||
@@ -52,3 +52,5 @@ "keywords": [], | ||
"jest": { | ||
"setupTestFrameworkScriptFile": "jest-extended", | ||
"setupFilesAfterEnv": [ | ||
"jest-extended" | ||
], | ||
"transform": { | ||
@@ -93,3 +95,3 @@ ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" | ||
"@types/lodash": "^4.14.121", | ||
"@types/node": "^11.9.0", | ||
"@types/node": "^11.13.0", | ||
"colors": "^1.3.2", | ||
@@ -101,4 +103,4 @@ "commitizen": "^3.0.0", | ||
"husky": "^1.0.1", | ||
"jest": "^23.6.0", | ||
"jest-config": "^23.6.0", | ||
"jest": "^24.4.0", | ||
"jest-config": "^24.4.0", | ||
"jest-extended": "^0.11.0", | ||
@@ -111,10 +113,10 @@ "lint-staged": "^8.0.0", | ||
"prompt": "^1.0.0", | ||
"replace-in-file": "^3.4.2", | ||
"replace-in-file": "^4.0.0", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^1.1.2", | ||
"rollup-plugin-commonjs": "^9.1.8", | ||
"rollup-plugin-json": "^3.1.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-node-resolve": "^4.0.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup-plugin-typescript2": "^0.19.2", | ||
"rollup-plugin-typescript2": "^0.20.1", | ||
"semantic-release": "^15.13.2", | ||
@@ -121,0 +123,0 @@ "testcafe": "^1.0.0", |
@@ -12,3 +12,2 @@ <p align="left"> | ||
[![SemVer](https://img.shields.io/badge/SemVer-2.0.0-brightgreen.svg)](http://semver.org/spec/v2.0.0.html) | ||
[![](https://data.jsdelivr.com/v1/package/npm/browser-interaction-time/badge?style=rounded)](https://www.jsdelivr.com/package/npm/browser-interaction-time) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Greenkeeper badge](https://badges.greenkeeper.io/atlassian/browser-interaction-time.svg)](https://greenkeeper.io/) | ||
@@ -18,7 +17,7 @@ | ||
browser-interaction-time lets you track the time a user is active on your webpage while ignoring time spent on a different tab or with a minimized window. It also ignores the time spent while the user is idle on a web page meaning after a certain amount of time (idleTimeoutMs) without any user interactions (scroll, mousemovement etc) the time will also stop until the next user interaction. | ||
BrowserInteractionTime lets you track the time a user is active on your webpage while ignoring time spent on a different tab or with a minimized window. It also ignores the time spent while the user is idle on a web page meaning after a certain amount of time (idleTimeoutMs) without any user interactions (scroll, mousemovement etc) the time will stop until the next user interaction. | ||
## Importing BrowserInteractionTime | ||
You can import the generated bundle to use the whole library generated by this starter: | ||
You can import the generated bundle to use the whole library like this: | ||
@@ -29,3 +28,3 @@ ```javascript | ||
Additionally, you can import the transpiled modules from `dist/lib` in case you have a modular library: | ||
Additionally, you can import the transpiled modules from `dist/lib`: | ||
@@ -32,0 +31,0 @@ ```javascript |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157451
163