package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "hasown",
  3. "version": "2.0.1",
  4. "description": "A robust, ES3 compatible, \"has own property\" predicate.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "types": "index.d.ts",
  11. "sideEffects": false,
  12. "scripts": {
  13. "prepack": "npmignore --auto --commentLines=autogenerated",
  14. "prepublish": "not-in-publish || npm run prepublishOnly",
  15. "prepublishOnly": "safe-publish-latest",
  16. "prelint": "evalmd README.md",
  17. "lint": "eslint --ext=js,mjs .",
  18. "postlint": "npm run tsc",
  19. "pretest": "npm run lint",
  20. "tsc": "tsc -p .",
  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/inspect-js/hasOwn.git"
  30. },
  31. "keywords": [
  32. "has",
  33. "hasOwnProperty",
  34. "hasOwn",
  35. "has-own",
  36. "own",
  37. "has",
  38. "property",
  39. "in",
  40. "javascript",
  41. "ecmascript"
  42. ],
  43. "author": "Jordan Harband <ljharb@gmail.com>",
  44. "license": "MIT",
  45. "bugs": {
  46. "url": "https://github.com/inspect-js/hasOwn/issues"
  47. },
  48. "homepage": "https://github.com/inspect-js/hasOwn#readme",
  49. "dependencies": {
  50. "function-bind": "^1.1.2"
  51. },
  52. "devDependencies": {
  53. "@ljharb/eslint-config": "^21.1.0",
  54. "@types/function-bind": "^1.1.10",
  55. "@types/mock-property": "^1.0.2",
  56. "@types/tape": "^5.6.4",
  57. "aud": "^2.0.4",
  58. "auto-changelog": "^2.4.0",
  59. "eslint": "=8.8.0",
  60. "evalmd": "^0.0.19",
  61. "in-publish": "^2.0.1",
  62. "mock-property": "^1.0.3",
  63. "npmignore": "^0.3.1",
  64. "nyc": "^10.3.2",
  65. "safe-publish-latest": "^2.0.0",
  66. "tape": "^5.7.4",
  67. "typescript": "next"
  68. },
  69. "engines": {
  70. "node": ">= 0.4"
  71. },
  72. "testling": {
  73. "files": "test/index.js"
  74. },
  75. "auto-changelog": {
  76. "output": "CHANGELOG.md",
  77. "template": "keepachangelog",
  78. "unreleased": false,
  79. "commitLimit": false,
  80. "backfillLimit": false,
  81. "hideCredit": true
  82. },
  83. "publishConfig": {
  84. "ignore": [
  85. ".github/workflows",
  86. "test"
  87. ]
  88. }
  89. }