package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "is-date-object",
  3. "version": "1.1.0",
  4. "author": "Jordan Harband",
  5. "funding": {
  6. "url": "https://github.com/sponsors/ljharb"
  7. },
  8. "description": "Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
  9. "license": "MIT",
  10. "main": "index.js",
  11. "exports": {
  12. ".": "./index.js",
  13. "./package.json": "./package.json"
  14. },
  15. "sideEffects": false,
  16. "scripts": {
  17. "prepack": "npmignore --auto --commentLines=autogenerated",
  18. "prepublishOnly": "safe-publish-latest",
  19. "prepublish": "not-in-publish || npm run prepublishOnly",
  20. "pretest": "npm run lint",
  21. "test": "npm run tests-only && npm run test:corejs",
  22. "tests-only": "nyc tape 'test/**/*.js'",
  23. "test:corejs": "nyc tape test-corejs.js",
  24. "posttest": "npx npm@'>= 10.2' audit --production",
  25. "lint": "eslint --ext=js,mjs .",
  26. "postlint": "tsc && attw -P",
  27. "version": "auto-changelog && git add CHANGELOG.md",
  28. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git://github.com/inspect-js/is-date-object.git"
  33. },
  34. "keywords": [
  35. "Date",
  36. "ES6",
  37. "toStringTag",
  38. "@@toStringTag",
  39. "Date object"
  40. ],
  41. "dependencies": {
  42. "call-bound": "^1.0.2",
  43. "has-tostringtag": "^1.0.2"
  44. },
  45. "devDependencies": {
  46. "@arethetypeswrong/cli": "^0.17.1",
  47. "@ljharb/eslint-config": "^21.1.1",
  48. "@ljharb/tsconfig": "^0.2.2",
  49. "@types/core-js": "^2.5.8",
  50. "@types/tape": "^5.6.5",
  51. "auto-changelog": "^2.5.0",
  52. "core-js": "^3.39.0",
  53. "encoding": "^0.1.13",
  54. "eslint": "=8.8.0",
  55. "in-publish": "^2.0.1",
  56. "indexof": "^0.0.1",
  57. "is": "^3.3.0",
  58. "npmignore": "^0.3.1",
  59. "nyc": "^10.3.2",
  60. "safe-publish-latest": "^2.0.0",
  61. "tape": "^5.9.0",
  62. "typescript": "^5.8.0-dev.20241212"
  63. },
  64. "testling": {
  65. "files": "test/index.js",
  66. "browsers": [
  67. "iexplore/6.0..latest",
  68. "firefox/3.0..6.0",
  69. "firefox/15.0..latest",
  70. "firefox/nightly",
  71. "chrome/4.0..10.0",
  72. "chrome/20.0..latest",
  73. "chrome/canary",
  74. "opera/10.0..latest",
  75. "opera/next",
  76. "safari/4.0..latest",
  77. "ipad/6.0..latest",
  78. "iphone/6.0..latest",
  79. "android-browser/4.2"
  80. ]
  81. },
  82. "engines": {
  83. "node": ">= 0.4"
  84. },
  85. "auto-changelog": {
  86. "output": "CHANGELOG.md",
  87. "template": "keepachangelog",
  88. "unreleased": false,
  89. "commitLimit": false,
  90. "backfillLimit": false,
  91. "hideCredit": true
  92. },
  93. "publishConfig": {
  94. "ignore": [
  95. ".github/workflows",
  96. "test-corejs.js"
  97. ]
  98. }
  99. }