package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "@sv443-network/userutils",
  3. "version": "0.5.2",
  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. "files": [
  44. "/dist/index.js",
  45. "/dist/index.mjs",
  46. "/dist/index.d.ts",
  47. "/dist/index.d.mts",
  48. "/package.json",
  49. "/README.md",
  50. "/CHANGELOG.md",
  51. "/LICENSE.txt"
  52. ]
  53. }