UNPKG

browser-session-tabs-tracker

Version:

A light-weight library for tracking multiple browser tabs in a web session.

71 lines (70 loc) 1.95 kB
{ "name": "browser-session-tabs-tracker", "version": "2.2.6", "description": "A light-weight library for tracking multiple browser tabs in a web session.", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc", "lint": "tslint -p tsconfig.json && npm run lint:format", "lint:format": "prettier --check \"src/**/*.{ts,js}\"", "lint:format:fix": "prettier --write \"src/**/*.{ts,js}\"", "test": "jest --config jestconfig.json --coverage=true --collectCoverageFrom=src/**/*.{ts,js}", "test:ci": "npm run test -- --ci", "test:watch": "jest --config jestconfig.json --watch", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/pureartisan/browser-session-tabs.git" }, "keywords": [ "Browser Tab", "Sessions", "Tracking", "Analytics" ], "author": "Prageeth Silva <prageethsilva@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/pureartisan/browser-session-tabs/issues" }, "homepage": "https://github.com/pureartisan/browser-session-tabs#readme", "files": [ "lib/**/*" ], "devDependencies": { "@types/jest": "^25.2.3", "@types/js-cookie": "^2.2.6", "@types/uuid": "^8.0.0", "husky": "^4.2.5", "jest": "^26.0.1", "jest-junit": "^10.0.0", "lint-staged": "^10.2.10", "prettier": "^2.0.5", "ts-jest": "^26.1.0", "tslint": "^6.1.2", "tslint-config-prettier": "^1.18.0", "typescript": "3.2.4" }, "dependencies": { "js-cookie": "^2.2.1" }, "husky": { "hooks": { "pre-commit": "tsc && lint-staged" } }, "jest-junit": { "outputDirectory": "./reports/" }, "lint-staged": { "**/*.+(js|jsx|ts|tsx|md)": [ "prettier --write", "git add" ] } }