package.json 2.7 KB

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