package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "own-keys",
  3. "version": "1.0.1",
  4. "description": "Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible",
  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. "version": "auto-changelog && git add CHANGELOG.md",
  14. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=js,mjs .",
  17. "postlint": "tsc && attw -P",
  18. "prepublish": "not-in-publish || npm run prepublishOnly",
  19. "prepublishOnly": "safe-publish-latest",
  20. "pretest": "npm run lint",
  21. "tests-only": "nyc tape test",
  22. "test": "npm run tests-only",
  23. "posttest": "npx npm@'>= 10.2' audit --production"
  24. },
  25. "keywords": [
  26. "own",
  27. "key",
  28. "keys",
  29. "propertykey",
  30. "string",
  31. "symbol",
  32. "enumerable",
  33. "non-enumerable",
  34. "robust"
  35. ],
  36. "author": "Jordan Harband <ljharb@gmail.com>",
  37. "funding": {
  38. "url": "https://github.com/sponsors/ljharb"
  39. },
  40. "license": "MIT",
  41. "repository": {
  42. "type": "git",
  43. "url": "git+https://github.com/ljharb/own-keys.git"
  44. },
  45. "bugs": {
  46. "url": "https://github.com/ljharb/own-keys/issues"
  47. },
  48. "homepage": "https://github.com/ljharb/own-keys#readme",
  49. "dependencies": {
  50. "get-intrinsic": "^1.2.6",
  51. "object-keys": "^1.1.1",
  52. "safe-push-apply": "^1.0.0"
  53. },
  54. "devDependencies": {
  55. "@arethetypeswrong/cli": "^0.17.2",
  56. "@ljharb/eslint-config": "^21.1.1",
  57. "@ljharb/tsconfig": "^0.2.3",
  58. "@types/get-intrinsic": "^1.2.3",
  59. "@types/isarray": "^2.0.3",
  60. "@types/object-keys": "^1.0.3",
  61. "@types/tape": "^5.8.0",
  62. "auto-changelog": "^2.5.0",
  63. "encoding": "^0.1.13",
  64. "eslint": "=8.8.0",
  65. "evalmd": "^0.0.19",
  66. "has-property-descriptors": "^1.0.2",
  67. "has-symbols": "^1.1.0",
  68. "in-publish": "^2.0.1",
  69. "npmignore": "^0.3.1",
  70. "nyc": "^10.3.2",
  71. "safe-publish-latest": "^2.0.0",
  72. "tape": "^5.9.0",
  73. "typescript": "next"
  74. },
  75. "engines": {
  76. "node": ">= 0.4"
  77. },
  78. "auto-changelog": {
  79. "output": "CHANGELOG.md",
  80. "template": "keepachangelog",
  81. "unreleased": false,
  82. "commitLimit": false,
  83. "backfillLimit": false,
  84. "hideCredit": true
  85. },
  86. "publishConfig": {
  87. "ignore": [
  88. ".github/workflows"
  89. ]
  90. }
  91. }