package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "functions-have-names",
  3. "version": "1.2.3",
  4. "description": "Does this JS environment support the `name` property on functions?",
  5. "main": "index.js",
  6. "scripts": {
  7. "prepublish": "not-in-publish || npm run prepublishOnly",
  8. "prepublishOnly": "safe-publish-latest",
  9. "version": "auto-changelog && git add CHANGELOG.md",
  10. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  11. "lint": "eslint --ext=js,mjs .",
  12. "pretest": "npm run lint",
  13. "tests-only": "nyc tape 'test/**/*.js'",
  14. "test": "npm run tests-only",
  15. "posttest": "aud --production"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/inspect-js/functions-have-names.git"
  20. },
  21. "keywords": [
  22. "function",
  23. "name",
  24. "es5",
  25. "names",
  26. "functions",
  27. "ie"
  28. ],
  29. "author": "Jordan Harband <ljharb@gmail.com>",
  30. "funding": {
  31. "url": "https://github.com/sponsors/ljharb"
  32. },
  33. "license": "MIT",
  34. "bugs": {
  35. "url": "https://github.com/inspect-js/functions-have-names/issues"
  36. },
  37. "homepage": "https://github.com/inspect-js/functions-have-names#readme",
  38. "devDependencies": {
  39. "@ljharb/eslint-config": "^21.0.0",
  40. "aud": "^2.0.0",
  41. "auto-changelog": "^2.4.0",
  42. "eslint": "=8.8.0",
  43. "nyc": "^10.3.2",
  44. "safe-publish-latest": "^2.0.0",
  45. "tape": "^5.5.3"
  46. },
  47. "auto-changelog": {
  48. "output": "CHANGELOG.md",
  49. "template": "keepachangelog",
  50. "unreleased": false,
  51. "commitLimit": false,
  52. "backfillLimit": false,
  53. "hideCredit": true
  54. }
  55. }