{ "name": "@sv443-network/userutils", "libName": "UserUtils", "version": "8.0.1", "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", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "browser": "./dist/index.global.js" } }, "types": "dist/lib/index.d.ts", "type": "module", "scripts": { "lint": "tsc --noEmit && eslint .", "build-types": "tsc --emitDeclarationOnly --declaration --outDir dist", "build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake", "build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"npm run build-types && npm run post-build-global && echo Finished building.\"", "build": "npm run build-common -- && npm run build-types", "post-build-global": "npm run node-ts -- ./tools/post-build-global.mts", "dev": "npm run build-common -- --sourcemap --watch --onSuccess \"npm run build-types && echo Finished building.\"", "dev-all": "npm run build-all -- --watch", "update-jsr-version": "npm run node-ts -- ./tools/update-jsr-version.mts", "publish-package": "changeset publish", "publish-package-jsr": "npm run update-jsr-version && npx jsr publish", "node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm", "test-serve": "npm run node-ts -- ./test/TestPage/server.mts", "test-dev": "cd test/TestScript && npm run dev", "test": "concurrently \"npm run test-serve\" \"npm run 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.0.0" }, "devDependencies": { "@changesets/cli": "^2.26.2", "@types/express": "^4.17.19", "@types/greasemonkey": "^4.0.4", "@types/node": "^20.5.9", "@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/parser": "^6.2.1", "concurrently": "^8.2.1", "eslint": "^8.46.0", "express": "^4.18.2", "ts-node": "^10.9.1", "tslib": "^2.6.1", "tsup": "^7.1.0", "typescript": "^5.1.6" }, "files": [ "/dist/index.js", "/dist/index.mjs", "/dist/index.global.js", "/dist/lib/**.d.ts", "/package.json", "/README.md", "/CHANGELOG.md", "/LICENSE.txt" ] }