package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "object.hasown",
  3. "version": "1.1.3",
  4. "description": "ES spec-compliant shim for Object.hasOwn",
  5. "main": "index.js",
  6. "exports": {
  7. ".": [
  8. {
  9. "import": "./index.mjs",
  10. "require": "./index.js",
  11. "default": "./index.js"
  12. },
  13. "./index.js"
  14. ],
  15. "./auto": "./auto.js",
  16. "./polyfill": "./polyfill.js",
  17. "./implementation": "./implementation.js",
  18. "./shim": "./shim.js",
  19. "./package.json": "./package.json"
  20. },
  21. "scripts": {
  22. "prepack": "npmignore --auto --commentLines=autogenerated",
  23. "prepublish": "not-in-publish || npm run prepublishOnly",
  24. "prepublishOnly": "safe-publish-latest",
  25. "lint": "eslint --ext=js,mjs .",
  26. "postlint": "es-shim-api --bound",
  27. "pretest": "npm run lint",
  28. "tests-only": "nyc tape 'test/**/*.js'",
  29. "tests-esm": "nyc node test/index.mjs",
  30. "test": "npm run tests-only && npm run tests-esm",
  31. "posttest": "aud --production",
  32. "version": "auto-changelog && git add CHANGELOG.md",
  33. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "https://github.com/es-shims/Object.hasOwn.git"
  38. },
  39. "keywords": [
  40. "Object",
  41. "hasOwn",
  42. "polyfill",
  43. "shim",
  44. "es-shim API"
  45. ],
  46. "author": "Jordan Harband <ljharb@gmail.com>",
  47. "funding": {
  48. "url": "https://github.com/sponsors/ljharb"
  49. },
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/es-shims/Object.hasOwn/issues"
  53. },
  54. "homepage": "https://github.com/es-shims/Object.hasOwn",
  55. "dependencies": {
  56. "define-properties": "^1.2.0",
  57. "es-abstract": "^1.22.1"
  58. },
  59. "devDependencies": {
  60. "@es-shims/api": "^2.4.2",
  61. "@ljharb/eslint-config": "^21.1.0",
  62. "aud": "^2.0.3",
  63. "auto-changelog": "^2.4.0",
  64. "call-bind": "^1.0.2",
  65. "eslint": "=8.8.0",
  66. "functions-have-names": "^1.2.3",
  67. "has-strict-mode": "^1.0.1",
  68. "has-symbols": "^1.0.3",
  69. "in-publish": "^2.0.1",
  70. "npmignore": "^0.3.0",
  71. "nyc": "^10.3.2",
  72. "safe-publish-latest": "^2.0.0",
  73. "tape": "^5.6.6"
  74. },
  75. "auto-changelog": {
  76. "output": "CHANGELOG.md",
  77. "template": "keepachangelog",
  78. "unreleased": false,
  79. "commitLimit": false,
  80. "backfillLimit": false,
  81. "hideCredit": true
  82. },
  83. "publishConfig": {
  84. "ignore": [
  85. ".github/workflows"
  86. ]
  87. }
  88. }