package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "object.hasown",
  3. "version": "1.1.1",
  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.1.4",
  57. "es-abstract": "^1.19.5"
  58. },
  59. "devDependencies": {
  60. "@es-shims/api": "^2.2.3",
  61. "@ljharb/eslint-config": "^20.2.3",
  62. "aud": "^2.0.0",
  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. "npmignore": "^0.3.0",
  70. "nyc": "^10.3.2",
  71. "safe-publish-latest": "^2.0.0",
  72. "tape": "^5.5.3"
  73. },
  74. "auto-changelog": {
  75. "output": "CHANGELOG.md",
  76. "template": "keepachangelog",
  77. "unreleased": false,
  78. "commitLimit": false,
  79. "backfillLimit": false,
  80. "hideCredit": true
  81. },
  82. "publishConfig": {
  83. "ignore": [
  84. ".github/workflows"
  85. ]
  86. }
  87. }