package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "function.prototype.name",
  3. "version": "1.1.6",
  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": "aud --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.2",
  41. "define-properties": "^1.2.0",
  42. "es-abstract": "^1.22.1",
  43. "functions-have-names": "^1.2.3"
  44. },
  45. "devDependencies": {
  46. "@es-shims/api": "^2.4.2",
  47. "@ljharb/eslint-config": "^21.1.0",
  48. "aud": "^2.0.3",
  49. "auto-changelog": "^2.4.0",
  50. "eclint": "^2.8.1",
  51. "eslint": "=8.8.0",
  52. "for-each": "^0.3.3",
  53. "has-strict-mode": "^1.0.1",
  54. "in-publish": "^2.0.1",
  55. "make-arrow-function": "^1.2.0",
  56. "make-async-function": "^1.0.0",
  57. "make-generator-function": "^2.0.0",
  58. "npmignore": "^0.3.0",
  59. "nyc": "^10.3.2",
  60. "safe-publish-latest": "^2.0.0",
  61. "tape": "^5.6.6",
  62. "uglify-register": "^1.0.1"
  63. },
  64. "testling": {
  65. "files": "test/index.js",
  66. "browsers": [
  67. "iexplore/9.0..latest",
  68. "firefox/4.0..6.0",
  69. "firefox/15.0..latest",
  70. "firefox/nightly",
  71. "chrome/4.0..10.0",
  72. "chrome/20.0..latest",
  73. "chrome/canary",
  74. "opera/11.6..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.4"
  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": "v1.1.6"
  93. },
  94. "publishConfig": {
  95. "ignore": [
  96. ".github/workflows"
  97. ]
  98. }
  99. }