{ "name": "@sv443-network/userutils", "version": "2.0.1", "description": "Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, manage persistent user configurations, modify the DOM more easily and more", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/lib/index.d.ts", "scripts": { "lint": "tsc --noEmit && eslint .", "build-types": "tsc --emitDeclarationOnly --declaration --outDir dist", "build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake", "build-global": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"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.\"", "publish-package": "changeset publish", "node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm", "test-serve": "npm run node-ts -- ./test/server.mts", "test-dev": "cd test/TestScript && npm run 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", "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", "eslint": "^8.46.0", "express": "^4.18.2", "ts-node": "^10.9.1", "tslib": "^2.6.1", "tsup": "^7.2.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" ] }