package.json 2.1 KB

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