package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "reflect.getprototypeof",
  3. "version": "1.0.5",
  4. "description": "An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible",
  5. "main": "index.js",
  6. "type": "commonjs",
  7. "exports": {
  8. ".": [
  9. {
  10. "import": "./index.mjs",
  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. "prelint": "evalmd README.md",
  26. "lint": "eslint --ext=js,mjs .",
  27. "postlint": "es-shim-api --bound",
  28. "pretest": "npm run lint",
  29. "tests-only": "nyc tape 'test/**/*.js'",
  30. "tests-esm": "nyc node test/index.mjs",
  31. "test": "npm run tests-only && npm run tests-esm",
  32. "posttest": "aud --production",
  33. "version": "auto-changelog && git add CHANGELOG.md",
  34. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  35. },
  36. "repository": {
  37. "type": "git",
  38. "url": "git+https://github.com/es-shims/Reflect.getPrototypeOf.git"
  39. },
  40. "keywords": [
  41. "Reflect.getPrototypeOf",
  42. "Object.getPrototypeOf",
  43. "proto",
  44. "__proto__",
  45. "[[Prototype]]",
  46. "getPrototypeOf",
  47. "ES5",
  48. "shim",
  49. "polyfill",
  50. "es-shim API",
  51. "browser"
  52. ],
  53. "author": "Jordan Harband <ljharb@gmail.com>",
  54. "funding": {
  55. "url": "https://github.com/sponsors/ljharb"
  56. },
  57. "license": "MIT",
  58. "bugs": {
  59. "url": "https://github.com/es-shims/Reflect.getPrototypeOf/issues"
  60. },
  61. "homepage": "https://github.com/es-shims/Reflect.getPrototypeOf",
  62. "engines": {
  63. "node": ">= 0.4"
  64. },
  65. "devDependencies": {
  66. "@es-shims/api": "^2.4.2",
  67. "@ljharb/eslint-config": "^21.1.0",
  68. "aud": "^2.0.4",
  69. "auto-changelog": "^2.4.0",
  70. "eslint": "=8.8.0",
  71. "evalmd": "^0.0.19",
  72. "in-publish": "^2.0.1",
  73. "npmignore": "^0.3.1",
  74. "nyc": "^10.3.2",
  75. "safe-publish-latest": "^2.0.0",
  76. "tape": "^5.7.4"
  77. },
  78. "auto-changelog": {
  79. "output": "CHANGELOG.md",
  80. "template": "keepachangelog",
  81. "unreleased": false,
  82. "commitLimit": false,
  83. "backfillLimit": false,
  84. "hideCredit": true
  85. },
  86. "dependencies": {
  87. "call-bind": "^1.0.5",
  88. "define-properties": "^1.2.1",
  89. "es-abstract": "^1.22.3",
  90. "es-errors": "^1.0.0",
  91. "get-intrinsic": "^1.2.3",
  92. "globalthis": "^1.0.3",
  93. "which-builtin-type": "^1.1.3"
  94. },
  95. "publishConfig": {
  96. "ignore": [
  97. ".github/workflows"
  98. ]
  99. }
  100. }