package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "gopd",
  3. "version": "1.1.0",
  4. "description": "`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "sideEffects": false,
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublishOnly": "safe-publish-latest",
  14. "prepublish": "not-in-publish || npm run prepublishOnly",
  15. "prelint": "tsc -p . && attw -P",
  16. "lint": "eslint --ext=js,mjs .",
  17. "postlint": "evalmd README.md",
  18. "pretest": "npm run lint",
  19. "tests-only": "tape 'test/**/*.js'",
  20. "test": "npm run tests-only",
  21. "posttest": "npx npm@'>=10.2' audit --production",
  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+https://github.com/ljharb/gopd.git"
  28. },
  29. "keywords": [
  30. "ecmascript",
  31. "javascript",
  32. "getownpropertydescriptor",
  33. "property",
  34. "descriptor"
  35. ],
  36. "author": "Jordan Harband <ljharb@gmail.com>",
  37. "funding": {
  38. "url": "https://github.com/sponsors/ljharb"
  39. },
  40. "license": "MIT",
  41. "bugs": {
  42. "url": "https://github.com/ljharb/gopd/issues"
  43. },
  44. "homepage": "https://github.com/ljharb/gopd#readme",
  45. "dependencies": {
  46. "get-intrinsic": "^1.2.4"
  47. },
  48. "devDependencies": {
  49. "@arethetypeswrong/cli": "^0.17.0",
  50. "@ljharb/eslint-config": "^21.1.1",
  51. "@ljharb/tsconfig": "^0.2.0",
  52. "@types/get-intrinsic": "^1.2.3",
  53. "@types/tape": "^5.6.5",
  54. "auto-changelog": "^2.5.0",
  55. "encoding": "^0.1.13",
  56. "eslint": "=8.8.0",
  57. "evalmd": "^0.0.19",
  58. "in-publish": "^2.0.1",
  59. "npmignore": "^0.3.1",
  60. "safe-publish-latest": "^2.0.0",
  61. "tape": "^5.9.0",
  62. "typescript": "^5.8.0-dev.20241129"
  63. },
  64. "auto-changelog": {
  65. "output": "CHANGELOG.md",
  66. "template": "keepachangelog",
  67. "unreleased": false,
  68. "commitLimit": false,
  69. "backfillLimit": false,
  70. "hideCredit": true
  71. },
  72. "publishConfig": {
  73. "ignore": [
  74. ".github/workflows"
  75. ]
  76. },
  77. "engines": {
  78. "node": ">= 0.4"
  79. }
  80. }