package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "set-function-name",
  3. "version": "2.0.1",
  4. "description": "Set a function's name property",
  5. "main": "index.js",
  6. "directories": {
  7. "test": "test"
  8. },
  9. "scripts": {
  10. "prepack": "npmignore --auto --commentLines=autogenerated",
  11. "prepublish": "not-in-publish || npm run prepublishOnly",
  12. "prepublishOnly": "safe-publish-latest",
  13. "lint": "eslint --ext=js,mjs .",
  14. "postlint": "evalmd README.md",
  15. "pretest": "npm run lint",
  16. "tests-only": "tape 'test/**/*.js'",
  17. "test": "npm run tests-only",
  18. "posttest": "aud --production",
  19. "version": "auto-changelog && git add CHANGELOG.md",
  20. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/ljharb/set-function-name.git"
  25. },
  26. "keywords": [
  27. "set",
  28. "assign",
  29. "function",
  30. "name",
  31. "function.name"
  32. ],
  33. "author": "Jordan Harband <ljharb@gmail.com>",
  34. "license": "MIT",
  35. "bugs": {
  36. "url": "https://github.com/ljharb/set-function-name/issues"
  37. },
  38. "homepage": "https://github.com/ljharb/set-function-name#readme",
  39. "devDependencies": {
  40. "@ljharb/eslint-config": "^21.1.0",
  41. "aud": "^2.0.3",
  42. "auto-changelog": "^2.4.0",
  43. "es-value-fixtures": "^1.4.2",
  44. "eslint": "=8.8.0",
  45. "evalmd": "^0.0.19",
  46. "for-each": "^0.3.3",
  47. "function.prototype.name": "^1.1.6",
  48. "in-publish": "^2.0.1",
  49. "make-arrow-function": "^1.2.0",
  50. "make-async-function": "^1.0.0",
  51. "make-async-generator-function": "^1.0.0",
  52. "make-generator-function": "^2.0.0",
  53. "npmignore": "^0.3.0",
  54. "object-inspect": "^1.12.3",
  55. "safe-publish-latest": "^2.0.0",
  56. "tape": "^5.6.6"
  57. },
  58. "dependencies": {
  59. "define-data-property": "^1.0.1",
  60. "functions-have-names": "^1.2.3",
  61. "has-property-descriptors": "^1.0.0"
  62. },
  63. "engines": {
  64. "node": ">= 0.4"
  65. },
  66. "auto-changelog": {
  67. "output": "CHANGELOG.md",
  68. "template": "keepachangelog",
  69. "unreleased": false,
  70. "commitLimit": false,
  71. "backfillLimit": false,
  72. "hideCredit": true
  73. },
  74. "publishConfig": {
  75. "ignore": [
  76. ".github/workflows",
  77. "test"
  78. ]
  79. }
  80. }