package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "is-weakmap",
  3. "version": "2.0.2",
  4. "description": "Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
  5. "main": "index.js",
  6. "sideEffects": true,
  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=es5-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": "aud --production"
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/inspect-js/is-weakmap.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-weakmap/issues"
  42. },
  43. "homepage": "https://github.com/inspect-js/is-weakmap#readme",
  44. "devDependencies": {
  45. "@arethetypeswrong/cli": "^0.15.0",
  46. "@ljharb/eslint-config": "^21.1.0",
  47. "@types/for-each": "^0.3.3",
  48. "@types/object-inspect": "^1.8.4",
  49. "@types/tape": "^5.6.4",
  50. "aud": "^2.0.4",
  51. "auto-changelog": "^2.4.0",
  52. "core-js": "^2.6.12",
  53. "es5-shim": "^4.6.7",
  54. "es6-shim": "^0.35.8",
  55. "eslint": "=8.8.0",
  56. "for-each": "^0.3.3",
  57. "in-publish": "^2.0.1",
  58. "npmignore": "^0.3.1",
  59. "nyc": "^10.3.2",
  60. "object-inspect": "^1.13.1",
  61. "safe-publish-latest": "^2.0.0",
  62. "tape": "^5.7.5",
  63. "typescript": "next"
  64. },
  65. "auto-changelog": {
  66. "output": "CHANGELOG.md",
  67. "template": "keepachangelog",
  68. "unreleased": false,
  69. "commitLimit": false,
  70. "backfillLimit": false,
  71. "hideCredit": true
  72. },
  73. "publishConfig": {
  74. "ignore": [
  75. ".github/workflows"
  76. ]
  77. },
  78. "engines": {
  79. "node": ">= 0.4"
  80. }
  81. }