package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "hasown",
  3. "version": "2.0.2",
  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. "posttsc": "attw -P",
  22. "tests-only": "nyc tape 'test/**/*.js'",
  23. "test": "npm run tests-only",
  24. "posttest": "aud --production",
  25. "version": "auto-changelog && git add CHANGELOG.md",
  26. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "git+https://github.com/inspect-js/hasOwn.git"
  31. },
  32. "keywords": [
  33. "has",
  34. "hasOwnProperty",
  35. "hasOwn",
  36. "has-own",
  37. "own",
  38. "has",
  39. "property",
  40. "in",
  41. "javascript",
  42. "ecmascript"
  43. ],
  44. "author": "Jordan Harband <ljharb@gmail.com>",
  45. "license": "MIT",
  46. "bugs": {
  47. "url": "https://github.com/inspect-js/hasOwn/issues"
  48. },
  49. "homepage": "https://github.com/inspect-js/hasOwn#readme",
  50. "dependencies": {
  51. "function-bind": "^1.1.2"
  52. },
  53. "devDependencies": {
  54. "@arethetypeswrong/cli": "^0.15.1",
  55. "@ljharb/eslint-config": "^21.1.0",
  56. "@ljharb/tsconfig": "^0.2.0",
  57. "@types/function-bind": "^1.1.10",
  58. "@types/mock-property": "^1.0.2",
  59. "@types/tape": "^5.6.4",
  60. "aud": "^2.0.4",
  61. "auto-changelog": "^2.4.0",
  62. "eslint": "=8.8.0",
  63. "evalmd": "^0.0.19",
  64. "in-publish": "^2.0.1",
  65. "mock-property": "^1.0.3",
  66. "npmignore": "^0.3.1",
  67. "nyc": "^10.3.2",
  68. "safe-publish-latest": "^2.0.0",
  69. "tape": "^5.7.5",
  70. "typescript": "next"
  71. },
  72. "engines": {
  73. "node": ">= 0.4"
  74. },
  75. "testling": {
  76. "files": "test/index.js"
  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. "test"
  90. ]
  91. }
  92. }