package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "object.getownpropertydescriptors",
  3. "version": "2.1.7",
  4. "author": "Jordan Harband <ljharb@gmail.com>",
  5. "funding": {
  6. "url": "https://github.com/sponsors/ljharb"
  7. },
  8. "description": "ES2017 spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.",
  9. "license": "MIT",
  10. "main": "index.js",
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "prepublishOnly": "safe-publish-latest",
  15. "pretest": "npm run --silent lint",
  16. "test": "npm run --silent tests-only",
  17. "posttest": "aud --production",
  18. "tests-only": "nyc tape 'test/**/*.js'",
  19. "lint": "eslint --ext=js,mjs .",
  20. "postlint": "es-shim-api --bound",
  21. "version": "auto-changelog && git add CHANGELOG.md",
  22. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git://github.com/es-shims/object.getownpropertydescriptors.git"
  27. },
  28. "keywords": [
  29. "Object.getOwnPropertyDescriptors",
  30. "descriptor",
  31. "property descriptor",
  32. "ES8",
  33. "ES2017",
  34. "shim",
  35. "polyfill",
  36. "getOwnPropertyDescriptor",
  37. "es-shim API"
  38. ],
  39. "dependencies": {
  40. "array.prototype.reduce": "^1.0.6",
  41. "call-bind": "^1.0.2",
  42. "define-properties": "^1.2.0",
  43. "es-abstract": "^1.22.1",
  44. "safe-array-concat": "^1.0.0"
  45. },
  46. "devDependencies": {
  47. "@es-shims/api": "^2.4.2",
  48. "@ljharb/eslint-config": "^21.1.0",
  49. "aud": "^2.0.3",
  50. "auto-changelog": "^2.4.0",
  51. "eslint": "=8.8.0",
  52. "functions-have-names": "^1.2.3",
  53. "has-strict-mode": "^1.0.1",
  54. "in-publish": "^2.0.1",
  55. "mock-property": "^1.0.0",
  56. "npmignore": "^0.3.0",
  57. "nyc": "^10.3.2",
  58. "safe-publish-latest": "^2.0.0",
  59. "tape": "^5.6.6"
  60. },
  61. "testling": {
  62. "files": [
  63. "test/index.js",
  64. "test/shimmed.js"
  65. ],
  66. "browsers": [
  67. "iexplore/9.0..latest",
  68. "firefox/4.0..6.0",
  69. "firefox/15.0..latest",
  70. "firefox/nightly",
  71. "chrome/5.0..10.0",
  72. "chrome/20.0..latest",
  73. "chrome/canary",
  74. "opera/12.0..latest",
  75. "opera/next",
  76. "safari/5.0..latest",
  77. "ipad/6.0..latest",
  78. "iphone/6.0..latest",
  79. "android-browser/4.2"
  80. ]
  81. },
  82. "engines": {
  83. "node": ">= 0.8"
  84. },
  85. "auto-changelog": {
  86. "output": "CHANGELOG.md",
  87. "template": "keepachangelog",
  88. "unreleased": false,
  89. "commitLimit": false,
  90. "backfillLimit": false,
  91. "hideCredit": true,
  92. "startingVersion": "2.1.6"
  93. },
  94. "publishConfig": {
  95. "ignore": [
  96. ".github/workflows"
  97. ]
  98. }
  99. }