{ "name": "@sv443-network/userutils", "libName": "UserUtils", "version": "8.4.0", "description": "Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and more", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/lib/index.d.ts", "exports": { ".": { "browser": "./dist/index.global.js", "types": "./dist/lib/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.js" } }, "type": "module", "scripts": { "lint": "eslint . && tsc --noEmit", "build-types": "tsc --emitDeclarationOnly --declaration --outDir dist && node --import tsx ./tools/fix-dts.mts", "build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake", "build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"pnpm build-types && pnpm post-build-global\"", "build": "pnpm build-common -- && pnpm build-types", "post-build-global": "node --import tsx ./tools/post-build-global.mts", "dev": "pnpm build-common -- --sourcemap --watch --onSuccess \"pnpm build-types\"", "dev-all": "pnpm build-all -- --watch", "update-jsr-version": "node --import tsx ./tools/update-jsr-version.mts", "publish-package": "changeset publish", "publish-package-jsr": "pnpm update-jsr-version && npx jsr publish --allow-dirty", "change": "changeset", "test-serve": "node --import tsx ./test/TestPage/server.mts", "test-dev": "cd test/TestScript && pnpm dev", "test": "concurrently \"pnpm test-serve\" \"pnpm test-dev\"" }, "repository": { "type": "git", "url": "git+https://github.com/Sv443-Network/UserUtils.git" }, "keywords": [ "userscript", "utilities" ], "author": { "name": "Sv443", "url": "https://github.com/Sv443" }, "license": "MIT", "bugs": { "url": "https://github.com/Sv443-Network/UserUtils/issues" }, "homepage": "https://github.com/Sv443-Network/UserUtils", "dependencies": { "nanoevents": "^9.1.0" }, "devDependencies": { "@changesets/cli": "^2.27.11", "@types/express": "^4.17.21", "@types/greasemonkey": "^4.0.7", "@types/node": "^22.10.5", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "concurrently": "^8.2.2", "eslint": "^8.57.1", "express": "^4.21.2", "tslib": "^2.8.1", "tsup": "^8.3.5", "tsx": "^4.19.2", "typescript": "^5.7.3" }, "files": [ "/dist/index.js", "/dist/index.cjs", "/dist/index.mjs", "/dist/index.global.js", "/dist/lib/**.d.ts", "/package.json", "/README.md", "/CHANGELOG.md", "/LICENSE.txt" ] }