package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "is-map",
  3. "version": "2.0.3",
  4. "description": "Is this value a JS Map? 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=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-map.git"
  25. },
  26. "keywords": [
  27. "map",
  28. "set",
  29. "collection",
  30. "is",
  31. "robust"
  32. ],
  33. "author": "Jordan Harband <ljharb@gmail.com>",
  34. "funding": {
  35. "url": "https://github.com/sponsors/ljharb"
  36. },
  37. "license": "MIT",
  38. "bugs": {
  39. "url": "https://github.com/inspect-js/is-map/issues"
  40. },
  41. "homepage": "https://github.com/inspect-js/is-map#readme",
  42. "devDependencies": {
  43. "@arethetypeswrong/cli": "^0.15.0",
  44. "@ljharb/eslint-config": "^21.1.0",
  45. "@types/for-each": "^0.3.3",
  46. "@types/object-inspect": "^1.8.4",
  47. "@types/tape": "^5.6.4",
  48. "aud": "^2.0.4",
  49. "auto-changelog": "^2.4.0",
  50. "core-js": "^2.6.12",
  51. "es5-shim": "^4.6.7",
  52. "es6-shim": "^0.35.8",
  53. "eslint": "=8.8.0",
  54. "for-each": "^0.3.3",
  55. "in-publish": "^2.0.1",
  56. "npmignore": "^0.3.1",
  57. "nyc": "^10.3.2",
  58. "object-inspect": "^1.13.1",
  59. "safe-publish-latest": "^2.0.0",
  60. "tape": "^5.7.5",
  61. "typescript": "^5.5.0-dev.20240308"
  62. },
  63. "auto-changelog": {
  64. "output": "CHANGELOG.md",
  65. "template": "keepachangelog",
  66. "unreleased": false,
  67. "commitLimit": false,
  68. "backfillLimit": false,
  69. "hideCredit": true
  70. },
  71. "publishConfig": {
  72. "ignore": [
  73. ".github/workflows"
  74. ]
  75. },
  76. "engines": {
  77. "node": ">= 0.4"
  78. }
  79. }