5d50338e79f5aa9d492eaba684757bffb3c57c9006bd5b87c4ac8a50b876ab9aa062305c096f027220ff08405270f2b9e308af62a48ec7a6feaa29287184ac 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "function.prototype.name",
  3. "version": "1.1.8",
  4. "author": "Jordan Harband <ljharb@gmail.com>",
  5. "funding": {
  6. "url": "https://github.com/sponsors/ljharb"
  7. },
  8. "description": "An ES2015 spec-compliant `Function.prototype.name` shim",
  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 lint",
  16. "test": "npm run --silent tests-only",
  17. "posttest": "npx npm@'>=10.2' audit --production",
  18. "tests-only": "nyc tape 'test/**/*.js'",
  19. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  20. "lint": "eslint --ext=js,mjs .",
  21. "postlint": "es-shim-api --bound",
  22. "version": "auto-changelog && git add CHANGELOG.md",
  23. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git://github.com/es-shims/Function.prototype.name.git"
  28. },
  29. "keywords": [
  30. "Function.prototype.name",
  31. "function",
  32. "name",
  33. "ES6",
  34. "ES2015",
  35. "shim",
  36. "polyfill",
  37. "es-shim API"
  38. ],
  39. "dependencies": {
  40. "call-bind": "^1.0.8",
  41. "call-bound": "^1.0.3",
  42. "define-properties": "^1.2.1",
  43. "functions-have-names": "^1.2.3",
  44. "hasown": "^2.0.2",
  45. "is-callable": "^1.2.7"
  46. },
  47. "devDependencies": {
  48. "@es-shims/api": "^2.5.1",
  49. "@ljharb/eslint-config": "^21.1.1",
  50. "auto-changelog": "^2.5.0",
  51. "eclint": "^2.8.1",
  52. "encoding": "^0.1.13",
  53. "eslint": "=8.8.0",
  54. "for-each": "^0.3.3",
  55. "has-strict-mode": "^1.0.1",
  56. "in-publish": "^2.0.1",
  57. "make-arrow-function": "^1.2.0",
  58. "make-async-function": "^1.0.0",
  59. "make-generator-function": "^2.0.0",
  60. "npmignore": "^0.3.1",
  61. "nyc": "^10.3.2",
  62. "safe-publish-latest": "^2.0.0",
  63. "tape": "^5.9.0",
  64. "uglify-register": "^1.0.1"
  65. },
  66. "testling": {
  67. "files": "test/index.js",
  68. "browsers": [
  69. "iexplore/9.0..latest",
  70. "firefox/4.0..6.0",
  71. "firefox/15.0..latest",
  72. "firefox/nightly",
  73. "chrome/4.0..10.0",
  74. "chrome/20.0..latest",
  75. "chrome/canary",
  76. "opera/11.6..latest",
  77. "opera/next",
  78. "safari/5.0..latest",
  79. "ipad/6.0..latest",
  80. "iphone/6.0..latest",
  81. "android-browser/4.2"
  82. ]
  83. },
  84. "engines": {
  85. "node": ">= 0.4"
  86. },
  87. "auto-changelog": {
  88. "output": "CHANGELOG.md",
  89. "template": "keepachangelog",
  90. "unreleased": false,
  91. "commitLimit": false,
  92. "backfillLimit": false,
  93. "hideCredit": true,
  94. "startingVersion": "v1.1.6"
  95. },
  96. "publishConfig": {
  97. "ignore": [
  98. ".github/workflows"
  99. ]
  100. }
  101. }