package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "@sv443-network/userutils",
  3. "version": "0.5.1",
  4. "description": "Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, modify the DOM more easily and more ",
  5. "main": "dist/index.js",
  6. "module": "dist/index.mjs",
  7. "types": "dist/index.d.ts",
  8. "scripts": {
  9. "lint": "tsc && eslint .",
  10. "build-common": "tsup lib/index.ts --format cjs,esm --dts --clean --treeshake",
  11. "build-iife": "tsup lib/index.ts --format cjs,esm,iife --dts --clean --treeshake --minify",
  12. "build": "npm run build-common -- --minify",
  13. "dev": "npm run build-common -- --sourcemap --watch",
  14. "publish-package": "npm run build && changeset publish"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "git+https://github.com/Sv443-Network/UserUtils.git"
  19. },
  20. "keywords": [
  21. "userscript",
  22. "utilities"
  23. ],
  24. "author": {
  25. "name": "Sv443",
  26. "url": "https://github.com/Sv443"
  27. },
  28. "license": "MIT",
  29. "bugs": {
  30. "url": "https://github.com/Sv443-Network/UserUtils/issues"
  31. },
  32. "homepage": "https://github.com/Sv443-Network/UserUtils#readme",
  33. "devDependencies": {
  34. "@changesets/cli": "^2.26.2",
  35. "@types/greasemonkey": "^4.0.4",
  36. "@typescript-eslint/eslint-plugin": "^6.2.1",
  37. "@typescript-eslint/parser": "^6.2.1",
  38. "eslint": "^8.46.0",
  39. "tslib": "^2.6.1",
  40. "tsup": "^7.2.0",
  41. "typescript": "^5.1.6"
  42. },
  43. "browserslist": [
  44. "last 1 version",
  45. "> 1%",
  46. "not dead"
  47. ]
  48. }