package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "es-set-tostringtag",
  3. "version": "2.1.0",
  4. "description": "A helper to optimistically set Symbol.toStringTag, 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. "prepublishOnly": "safe-publish-latest",
  14. "prepublish": "not-in-publish || npm run prepublishOnly",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=js,mjs .",
  17. "postlint": "tsc -p . && attw -P",
  18. "pretest": "npm run lint",
  19. "tests-only": "nyc tape 'test/**/*.js'",
  20. "test": "npm run tests-only",
  21. "posttest": "npx npm@\">= 10.2\" audit --production",
  22. "version": "auto-changelog && git add CHANGELOG.md",
  23. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/es-shims/es-set-tostringtag.git"
  28. },
  29. "author": "Jordan Harband <ljharb@gmail.com>",
  30. "license": "MIT",
  31. "bugs": {
  32. "url": "https://github.com/es-shims/es-set-tostringtag/issues"
  33. },
  34. "homepage": "https://github.com/es-shims/es-set-tostringtag#readme",
  35. "devDependencies": {
  36. "@arethetypeswrong/cli": "^0.17.2",
  37. "@ljharb/eslint-config": "^21.1.1",
  38. "@ljharb/tsconfig": "^0.2.3",
  39. "@types/get-intrinsic": "^1.2.3",
  40. "@types/has-symbols": "^1.0.2",
  41. "@types/tape": "^5.8.0",
  42. "auto-changelog": "^2.5.0",
  43. "encoding": "^0.1.13",
  44. "eslint": "=8.8.0",
  45. "evalmd": "^0.0.19",
  46. "in-publish": "^2.0.1",
  47. "npmignore": "^0.3.1",
  48. "nyc": "^10.3.2",
  49. "safe-publish-latest": "^2.0.0",
  50. "tape": "^5.9.0",
  51. "typescript": "next"
  52. },
  53. "dependencies": {
  54. "es-errors": "^1.3.0",
  55. "get-intrinsic": "^1.2.6",
  56. "has-tostringtag": "^1.0.2",
  57. "hasown": "^2.0.2"
  58. },
  59. "engines": {
  60. "node": ">= 0.4"
  61. },
  62. "auto-changelog": {
  63. "output": "CHANGELOG.md",
  64. "template": "keepachangelog",
  65. "unreleased": false,
  66. "commitLimit": false,
  67. "backfillLimit": false,
  68. "hideCredit": true
  69. },
  70. "testling": {
  71. "files": "./test/index.js"
  72. },
  73. "publishConfig": {
  74. "ignore": [
  75. ".github/workflows"
  76. ]
  77. }
  78. }