package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "is-weakset",
  3. "version": "2.0.4",
  4. "description": "Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
  5. "main": "index.js",
  6. "sideEffects": false,
  7. "scripts": {
  8. "prepack": "npmignore --auto --commentLines=autogenerated",
  9. "version": "auto-changelog && git add CHANGELOG.md",
  10. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  11. "prepublishOnly": "safe-publish-latest",
  12. "prepublish": "not-in-publish || npm run prepublishOnly",
  13. "pretest": "npm run lint",
  14. "lint": "eslint --ext=js,mjs .",
  15. "postlint": "tsc -p . && attw -P",
  16. "tests-only": "nyc tape 'test/**/*.js'",
  17. "tests:shims": "nyc tape --require=es5-shim --require=es6-shim 'test/**/*.js'",
  18. "tests:corejs": "nyc tape --require=core-js 'test/**/*.js'",
  19. "test": "npm run tests-only && npm run tests:shims && npm run tests:corejs",
  20. "posttest": "npx npm@'>=10.2' audit --production"
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/inspect-js/is-weakset.git"
  25. },
  26. "keywords": [
  27. "map",
  28. "weakmap",
  29. "set",
  30. "weakset",
  31. "collection",
  32. "is",
  33. "robust"
  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-weakset/issues"
  42. },
  43. "homepage": "https://github.com/inspect-js/is-weakset#readme",
  44. "dependencies": {
  45. "call-bound": "^1.0.3",
  46. "get-intrinsic": "^1.2.6"
  47. },
  48. "devDependencies": {
  49. "@arethetypeswrong/cli": "^0.17.1",
  50. "@ljharb/eslint-config": "^21.1.1",
  51. "@ljharb/tsconfig": "^0.2.2",
  52. "@types/for-each": "^0.3.3",
  53. "@types/get-intrinsic": "^1.2.3",
  54. "@types/object-inspect": "^1.13.0",
  55. "@types/tape": "^5.7.0",
  56. "auto-changelog": "^2.5.0",
  57. "core-js": "^2.6.12",
  58. "encoding": "^0.1.13",
  59. "es5-shim": "^4.6.7",
  60. "es6-shim": "^0.35.8",
  61. "eslint": "=8.8.0",
  62. "for-each": "^0.3.3",
  63. "in-publish": "^2.0.1",
  64. "npmignore": "^0.3.1",
  65. "nyc": "^10.3.2",
  66. "object-inspect": "^1.13.3",
  67. "safe-publish-latest": "^2.0.0",
  68. "tape": "^5.9.0",
  69. "typescript": "next"
  70. },
  71. "auto-changelog": {
  72. "output": "CHANGELOG.md",
  73. "template": "keepachangelog",
  74. "unreleased": false,
  75. "commitLimit": false,
  76. "backfillLimit": false,
  77. "hideCredit": true
  78. },
  79. "publishConfig": {
  80. "ignore": [
  81. ".github/workflows"
  82. ]
  83. },
  84. "engines": {
  85. "node": ">= 0.4"
  86. }
  87. }