UNPKG

lag-monitor

Version:

A lightweight utility for monitoring JavaScript event loop lag in real-time

68 lines (67 loc) 1.91 kB
{ "name": "lag-monitor", "version": "0.0.1-alpha.0", "description": "A lightweight utility for monitoring JavaScript event loop lag in real-time", "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" } }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsup src/index.ts", "test": "jest", "test:watch": "jest --watch", "lint": "eslint src/**/*.ts --config .eslintrc.js", "lint:fix": "eslint src/**/*.ts --config .eslintrc.js --fix", "prepublishOnly": "npm run build && npm test", "publish": "npm publish --access public --tag beta", "dev": "tsup src/index.ts --watch --onSuccess 'echo Build complete!'", "publish:prerelease": "npm version prerelease --preid=alpha && npm publish --tag alpha" }, "keywords": [ "event-loop", "performance", "monitoring", "lag", "javascript", "typescript", "browser", "nodejs" ], "sideEffects": false, "author": "Jafar Howe jafarhowe@gmail.com", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/jnhowe/lag-monitor.git" }, "bugs": { "url": "https://github.com/jnhowe/lag-monitor.git/issues" }, "homepage": "https://github.com/jnhowe/lag-monitor.git#readme", "devDependencies": { "@types/node": "^22.15.29", "standard-version": "^9.5.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.33.0", "@typescript-eslint/parser": "^8.33.0", "eslint": "^9.28.0", "jest": "^29.7.0", "jest-environment-jsdom": "^30.0.0-beta.3", "rollup": "^2.79.2", "rollup-plugin-terser": "^7.0.2", "ts-jest": "^29.3.4", "tslib": "^2.8.1" } }