package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "is-weakref",
  3. "version": "1.1.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. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "sideEffects": false,
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "version": "auto-changelog && git add CHANGELOG.md",
  14. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  15. "prepublishOnly": "safe-publish-latest",
  16. "prepublish": "not-in-publish || npm run prepublishOnly",
  17. "lint": "eslint --ext=js,mjs .",
  18. "postlint": "tsc && attw -P",
  19. "pretest": "npm run lint",
  20. "tests-only": "nyc tape 'test/**/*.js'",
  21. "test": "npm run tests-only",
  22. "posttest": "npx npm@'>=10.2' audit --production"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git+https://github.com/inspect-js/is-weakref.git"
  27. },
  28. "keywords": [
  29. "weakref",
  30. "weak",
  31. "ref",
  32. "finalization",
  33. "finalization registry"
  34. ],
  35. "author": "Jordan Harband <ljharb@gmail.com>",
  36. "funding": {
  37. "url": "https://github.com/sponsors/ljharb"
  38. },
  39. "license": "MIT",
  40. "bugs": {
  41. "url": "https://github.com/inspect-js/is-weakref/issues"
  42. },
  43. "homepage": "https://github.com/inspect-js/is-weakref#readme",
  44. "devDependencies": {
  45. "@arethetypeswrong/cli": "^0.17.3",
  46. "@ljharb/eslint-config": "^21.1.1",
  47. "@ljharb/tsconfig": "^0.2.3",
  48. "@types/for-each": "^0.3.3",
  49. "@types/object-inspect": "^1.13.0",
  50. "@types/tape": "^5.8.1",
  51. "auto-changelog": "^2.5.0",
  52. "encoding": "^0.1.13",
  53. "eslint": "=8.8.0",
  54. "for-each": "^0.3.4",
  55. "in-publish": "^2.0.1",
  56. "npmignore": "^0.3.1",
  57. "nyc": "^10.3.2",
  58. "object-inspect": "^1.13.3",
  59. "safe-publish-latest": "^2.0.0",
  60. "tape": "^5.9.0",
  61. "typescript": "next"
  62. },
  63. "dependencies": {
  64. "call-bound": "^1.0.3"
  65. },
  66. "auto-changelog": {
  67. "output": "CHANGELOG.md",
  68. "template": "keepachangelog",
  69. "unreleased": false,
  70. "commitLimit": false,
  71. "backfillLimit": false,
  72. "hideCredit": true
  73. },
  74. "publishConfig": {
  75. "ignore": [
  76. ".github/workflows"
  77. ]
  78. },
  79. "engines": {
  80. "node": ">= 0.4"
  81. }
  82. }