package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "is-weakref",
  3. "version": "1.0.2",
  4. "description": "Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "scripts": {
  11. "version": "auto-changelog && git add CHANGELOG.md",
  12. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  13. "prepublishOnly": "safe-publish-latest",
  14. "prepublish": "not-in-publish || npm run prepublishOnly",
  15. "lint": "eslint --ext=js,mjs .",
  16. "pretest": "npm run lint",
  17. "tests-only": "nyc tape 'test/**/*.js'",
  18. "test": "npm run tests-only",
  19. "posttest": "aud --production"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "git+https://github.com/inspect-js/is-weakref.git"
  24. },
  25. "keywords": [
  26. "weakref",
  27. "weak",
  28. "ref",
  29. "finalization",
  30. "finalization registry"
  31. ],
  32. "author": "Jordan Harband <ljharb@gmail.com>",
  33. "funding": {
  34. "url": "https://github.com/sponsors/ljharb"
  35. },
  36. "license": "MIT",
  37. "bugs": {
  38. "url": "https://github.com/inspect-js/is-weakref/issues"
  39. },
  40. "homepage": "https://github.com/inspect-js/is-weakref#readme",
  41. "devDependencies": {
  42. "@ljharb/eslint-config": "^20.0.0",
  43. "aud": "^1.1.5",
  44. "auto-changelog": "^2.3.0",
  45. "eslint": "^8.4.1",
  46. "for-each": "^0.3.3",
  47. "nyc": "^10.3.2",
  48. "object-inspect": "^1.11.1",
  49. "safe-publish-latest": "^2.0.0",
  50. "tape": "^5.3.2"
  51. },
  52. "dependencies": {
  53. "call-bind": "^1.0.2"
  54. },
  55. "auto-changelog": {
  56. "output": "CHANGELOG.md",
  57. "template": "keepachangelog",
  58. "unreleased": false,
  59. "commitLimit": false,
  60. "backfillLimit": false,
  61. "hideCredit": true
  62. }
  63. }