package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "has-proto",
  3. "version": "1.2.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.2",
  57. "@types/gopd": "^1.0.3",
  58. "@types/tape": "^5.6.5",
  59. "auto-changelog": "^2.5.0",
  60. "encoding": "^0.1.13",
  61. "eslint": "=8.8.0",
  62. "evalmd": "^0.0.19",
  63. "gopd": "^1.2.0",
  64. "in-publish": "^2.0.1",
  65. "npmignore": "^0.3.1",
  66. "reflect.getprototypeof": "^1.0.7",
  67. "safe-publish-latest": "^2.0.0",
  68. "tape": "^5.9.0",
  69. "typescript": "next"
  70. },
  71. "engines": {
  72. "node": ">= 0.4"
  73. },
  74. "auto-changelog": {
  75. "output": "CHANGELOG.md",
  76. "template": "keepachangelog",
  77. "unreleased": false,
  78. "commitLimit": false,
  79. "backfillLimit": false,
  80. "hideCredit": true
  81. },
  82. "publishConfig": {
  83. "ignore": [
  84. ".github/workflows",
  85. "types"
  86. ]
  87. },
  88. "dependencies": {
  89. "dunder-proto": "^1.0.0"
  90. }
  91. }