package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "@sv443-network/userutils",
  3. "version": "0.5.3",
  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/lib/index.d.ts",
  8. "scripts": {
  9. "lint": "tsc --noEmit && eslint .",
  10. "build-types": "tsc --emitDeclarationOnly --declaration --outDir dist",
  11. "build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake",
  12. "build-iife": "tsup lib/index.ts --format cjs,esm,iife --clean --treeshake --minify",
  13. "build": "npm run build-common -- --minify && npm run build-types",
  14. "dev": "npm run build-common -- --sourcemap --watch --onSuccess \"npm run build-types\"",
  15. "publish-package": "npm run build && changeset publish"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/Sv443-Network/UserUtils.git"
  20. },
  21. "keywords": [
  22. "userscript",
  23. "utilities"
  24. ],
  25. "author": {
  26. "name": "Sv443",
  27. "url": "https://github.com/Sv443"
  28. },
  29. "license": "MIT",
  30. "bugs": {
  31. "url": "https://github.com/Sv443-Network/UserUtils/issues"
  32. },
  33. "homepage": "https://github.com/Sv443-Network/UserUtils#readme",
  34. "devDependencies": {
  35. "@changesets/cli": "^2.26.2",
  36. "@types/greasemonkey": "^4.0.4",
  37. "@typescript-eslint/eslint-plugin": "^6.2.1",
  38. "@typescript-eslint/parser": "^6.2.1",
  39. "eslint": "^8.46.0",
  40. "tslib": "^2.6.1",
  41. "tsup": "^7.2.0",
  42. "typescript": "^5.1.6"
  43. },
  44. "files": [
  45. "/dist/index.js",
  46. "/dist/index.mjs",
  47. "/dist/lib/**.*",
  48. "/package.json",
  49. "/README.md",
  50. "/CHANGELOG.md",
  51. "/LICENSE.txt"
  52. ]
  53. }