package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "has-proto",
  3. "version": "1.1.0",
  4. "description": "Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./accessor": "./accessor.js",
  9. "./mutator": "./mutator.js",
  10. "./package.json": "./package.json"
  11. },
  12. "sideEffects": false,
  13. "scripts": {
  14. "prepack": "npmignore --auto --commentLines=autogenerated",
  15. "prepublishOnly": "safe-publish-latest",
  16. "prepublish": "not-in-publish || npm run prepublishOnly",
  17. "prelint": "evalmd README.md",
  18. "lint": "eslint --ext=js,mjs .",
  19. "postlint": "tsc -p . && attw -P",
  20. "pretest": "npm run lint",
  21. "tests-only": "tape 'test/**/*.js'",
  22. "test": "npm run tests-only",
  23. "posttest": "npx npm@'>=10.2' audit --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/has-proto.git"
  30. },
  31. "keywords": [
  32. "prototype",
  33. "proto",
  34. "set",
  35. "get",
  36. "__proto__",
  37. "getPrototypeOf",
  38. "setPrototypeOf",
  39. "has"
  40. ],
  41. "author": "Jordan Harband <ljharb@gmail.com>",
  42. "funding": {
  43. "url": "https://github.com/sponsors/ljharb"
  44. },
  45. "license": "MIT",
  46. "bugs": {
  47. "url": "https://github.com/inspect-js/has-proto/issues"
  48. },
  49. "homepage": "https://github.com/inspect-js/has-proto#readme",
  50. "testling": {
  51. "files": "test/index.js"
  52. },
  53. "devDependencies": {
  54. "@arethetypeswrong/cli": "^0.17.0",
  55. "@ljharb/eslint-config": "^21.1.1",
  56. "@ljharb/tsconfig": "^0.2.0",
  57. "@types/call-bind": "^1.0.5",
  58. "@types/gopd": "^1.0.3",
  59. "@types/tape": "^5.6.5",
  60. "auto-changelog": "^2.5.0",
  61. "encoding": "^0.1.13",
  62. "eslint": "=8.8.0",
  63. "evalmd": "^0.0.19",
  64. "gopd": "^1.1.0",
  65. "in-publish": "^2.0.1",
  66. "npmignore": "^0.3.1",
  67. "reflect.getprototypeof": "^1.0.7",
  68. "safe-publish-latest": "^2.0.0",
  69. "tape": "^5.9.0",
  70. "typescript": "next"
  71. },
  72. "engines": {
  73. "node": ">= 0.4"
  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. "types"
  87. ]
  88. },
  89. "dependencies": {
  90. "call-bind": "^1.0.7"
  91. }
  92. }