package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "object.getownpropertydescriptors",
  3. "version": "2.1.5",
  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.5",
  41. "call-bind": "^1.0.2",
  42. "define-properties": "^1.1.4",
  43. "es-abstract": "^1.20.4"
  44. },
  45. "devDependencies": {
  46. "@es-shims/api": "^2.2.3",
  47. "@ljharb/eslint-config": "^21.0.0",
  48. "aud": "^2.0.1",
  49. "auto-changelog": "^2.4.0",
  50. "eslint": "=8.8.0",
  51. "functions-have-names": "^1.2.3",
  52. "has-strict-mode": "^1.0.1",
  53. "in-publish": "^2.0.1",
  54. "mock-property": "^1.0.0",
  55. "npmignore": "^0.3.0",
  56. "nyc": "^10.3.2",
  57. "safe-publish-latest": "^2.0.0",
  58. "tape": "^5.6.1"
  59. },
  60. "testling": {
  61. "files": [
  62. "test/index.js",
  63. "test/shimmed.js"
  64. ],
  65. "browsers": [
  66. "iexplore/9.0..latest",
  67. "firefox/4.0..6.0",
  68. "firefox/15.0..latest",
  69. "firefox/nightly",
  70. "chrome/5.0..10.0",
  71. "chrome/20.0..latest",
  72. "chrome/canary",
  73. "opera/12.0..latest",
  74. "opera/next",
  75. "safari/5.0..latest",
  76. "ipad/6.0..latest",
  77. "iphone/6.0..latest",
  78. "android-browser/4.2"
  79. ]
  80. },
  81. "engines": {
  82. "node": ">= 0.8"
  83. },
  84. "auto-changelog": {
  85. "output": "CHANGELOG.md",
  86. "template": "keepachangelog",
  87. "unreleased": false,
  88. "commitLimit": false,
  89. "backfillLimit": false,
  90. "hideCredit": true,
  91. "startingVersion": "2.1.6"
  92. },
  93. "publishConfig": {
  94. "ignore": [
  95. ".github/workflows"
  96. ]
  97. }
  98. }