UNPKG

browser-session-tabs

Version:

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

71 lines (70 loc) 1.92 kB
{ "name": "browser-session-tabs", "version": "3.0.0", "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": "eslint && 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": "^28.1.6", "@types/js-cookie": "^3.0.2", "@types/uuid": "^8.0.0", "eslint": "^8.20.0", "husky": "^4.2.5", "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", "jest-junit": "^14.0.0", "lint-staged": "^10.2.10", "prettier": "2.7", "ts-jest": "^28.0.7", "typescript": "^4.7.4" }, "dependencies": { "js-cookie": "^3.0.1" }, "husky": { "hooks": { "pre-commit": "tsc && lint-staged" } }, "jest-junit": { "outputDirectory": "./reports/" }, "lint-staged": { "**/*.+(js|jsx|ts|tsx|md)": [ "prettier --write", "git add" ] } }