package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "which-collection",
  3. "version": "1.0.1",
  4. "description": "Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.",
  5. "main": "index.js",
  6. "type": "commonjs",
  7. "exports": {
  8. ".": [
  9. {
  10. "default": "./index.js"
  11. },
  12. "./index.js"
  13. ],
  14. "./package.json": "./package.json"
  15. },
  16. "scripts": {
  17. "prepublish": "safe-publish-latest",
  18. "lint": "eslint .",
  19. "pretest": "npm run lint",
  20. "tests-only": "node test",
  21. "test": "npm run tests-only",
  22. "posttest": "npx aud",
  23. "version": "auto-changelog && git add CHANGELOG.md",
  24. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "git+https://github.com/inspect-js/which-collection.git"
  29. },
  30. "keywords": [
  31. "map",
  32. "set",
  33. "weakmap",
  34. "weakset",
  35. "collection.es6",
  36. "es2015"
  37. ],
  38. "author": "Jordan Harband <ljharb@gmail.com>",
  39. "funding": {
  40. "url": "https://github.com/sponsors/ljharb"
  41. },
  42. "license": "MIT",
  43. "bugs": {
  44. "url": "https://github.com/inspect-js/which-collection/issues"
  45. },
  46. "homepage": "https://github.com/inspect-js/which-collection#readme",
  47. "devDependencies": {
  48. "@ljharb/eslint-config": "^16.0.0",
  49. "auto-changelog": "^1.16.2",
  50. "eslint": "^6.8.0",
  51. "for-each": "^0.3.3",
  52. "object-inspect": "^1.7.0",
  53. "safe-publish-latest": "^1.1.4",
  54. "tape": "^5.0.0-next.4"
  55. },
  56. "dependencies": {
  57. "is-map": "^2.0.1",
  58. "is-set": "^2.0.1",
  59. "is-weakmap": "^2.0.1",
  60. "is-weakset": "^2.0.1"
  61. },
  62. "auto-changelog": {
  63. "output": "CHANGELOG.md",
  64. "template": "keepachangelog",
  65. "unreleased": false,
  66. "commitLimit": false,
  67. "backfillLimit": false
  68. }
  69. }