package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "is-weakref",
  3. "version": "1.0.1",
  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. ".": [
  8. {
  9. "default": "./index.js"
  10. },
  11. "./index.js"
  12. ]
  13. },
  14. "scripts": {
  15. "version": "auto-changelog && git add CHANGELOG.md",
  16. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  17. "lint": "eslint .",
  18. "pretest": "npm run lint",
  19. "tests-only": "nyc tape 'test/**/*.js'",
  20. "test": "npm run tests-only",
  21. "posttest": "aud --production"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/inspect-js/is-weakref.git"
  26. },
  27. "keywords": [
  28. "weakref",
  29. "weak",
  30. "ref",
  31. "finalization",
  32. "finalization registry"
  33. ],
  34. "author": "Jordan Harband <ljharb@gmail.com>",
  35. "funding": {
  36. "url": "https://github.com/sponsors/ljharb"
  37. },
  38. "license": "MIT",
  39. "bugs": {
  40. "url": "https://github.com/inspect-js/is-weakref/issues"
  41. },
  42. "homepage": "https://github.com/inspect-js/is-weakref#readme",
  43. "devDependencies": {
  44. "@ljharb/eslint-config": "^17.3.0",
  45. "aud": "^1.1.3",
  46. "auto-changelog": "^2.2.1",
  47. "eslint": "^7.14.0",
  48. "for-each": "^0.3.3",
  49. "nyc": "^10.3.2",
  50. "object-inspect": "^1.9.0",
  51. "tape": "^5.0.1"
  52. },
  53. "dependencies": {
  54. "call-bind": "^1.0.0"
  55. },
  56. "auto-changelog": {
  57. "output": "CHANGELOG.md",
  58. "template": "keepachangelog",
  59. "unreleased": false,
  60. "commitLimit": false,
  61. "backfillLimit": false,
  62. "hideCredit": true
  63. }
  64. }