package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "has-property-descriptors",
  3. "version": "1.0.2",
  4. "description": "Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.",
  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. "pretest": "npm run lint",
  16. "prelint": "evalmd README.md",
  17. "lint": "eslint --ext=js,mjs .",
  18. "tests-only": "nyc 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/inspect-js/has-property-descriptors.git"
  27. },
  28. "keywords": [
  29. "property",
  30. "descriptors",
  31. "has",
  32. "environment",
  33. "env",
  34. "defineProperty",
  35. "getOwnPropertyDescriptor"
  36. ],
  37. "author": "Jordan Harband <ljharb@gmail.com>",
  38. "funding": {
  39. "url": "https://github.com/sponsors/ljharb"
  40. },
  41. "license": "MIT",
  42. "bugs": {
  43. "url": "https://github.com/inspect-js/has-property-descriptors/issues"
  44. },
  45. "homepage": "https://github.com/inspect-js/has-property-descriptors#readme",
  46. "devDependencies": {
  47. "@ljharb/eslint-config": "^21.1.0",
  48. "aud": "^2.0.4",
  49. "auto-changelog": "^2.4.0",
  50. "eslint": "=8.8.0",
  51. "evalmd": "^0.0.19",
  52. "in-publish": "^2.0.1",
  53. "npmignore": "^0.3.1",
  54. "nyc": "^10.3.2",
  55. "safe-publish-latest": "^2.0.0",
  56. "tape": "^5.7.4"
  57. },
  58. "dependencies": {
  59. "es-define-property": "^1.0.0"
  60. },
  61. "testling": {
  62. "files": "test/index.js"
  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. }