UNPKG

detect-tab

Version:

A comprehensive tab detection and management library for web applications

64 lines (63 loc) 1.65 kB
{ "name": "detect-tab", "version": "1.0.0", "description": "A comprehensive tab detection and management library for web applications", "type": "module", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "src", "README.md", "LICENSE" ], "scripts": { "build": "rollup -c", "build:types": "tsc --declaration --emitDeclarationOnly --outDir dist", "dev": "rollup -c -w", "test": "jest", "test:watch": "jest --watch", "lint": "eslint src/**/*.{js,ts}", "lint:fix": "eslint src/**/*.{js,ts} --fix", "prepare": "npm run build", "prepublishOnly": "npm test && npm run build" }, "keywords": [ "tab", "browser-tab", "tab-detection", "tab-management", "visibility-api", "page-visibility", "focus", "blur", "typescript", "javascript" ], "author": "meteor314", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/meteor314/detect-tab.git" }, "bugs": { "url": "https://github.com/meteor314/detect-tab/issues" }, "homepage": "https://github.com/meteor314/detect-tab#readme", "devDependencies": { "@types/jest": "^29.5.5", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", "eslint": "^8.49.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "rollup": "^3.29.4", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.1.1", "typescript": "^5.2.2" }, "engines": { "node": ">=14.0.0" } }