package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "has-tostringtag",
  3. "version": "1.0.2",
  4. "author": {
  5. "name": "Jordan Harband",
  6. "email": "ljharb@gmail.com",
  7. "url": "http://ljharb.codes"
  8. },
  9. "funding": {
  10. "url": "https://github.com/sponsors/ljharb"
  11. },
  12. "contributors": [
  13. {
  14. "name": "Jordan Harband",
  15. "email": "ljharb@gmail.com",
  16. "url": "http://ljharb.codes"
  17. }
  18. ],
  19. "description": "Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.",
  20. "license": "MIT",
  21. "main": "index.js",
  22. "types": "./index.d.ts",
  23. "exports": {
  24. ".": [
  25. {
  26. "types": "./index.d.ts",
  27. "default": "./index.js"
  28. },
  29. "./index.js"
  30. ],
  31. "./shams": [
  32. {
  33. "types": "./shams.d.ts",
  34. "default": "./shams.js"
  35. },
  36. "./shams.js"
  37. ],
  38. "./package.json": "./package.json"
  39. },
  40. "scripts": {
  41. "prepack": "npmignore --auto --commentLines=autogenerated",
  42. "prepublishOnly": "safe-publish-latest",
  43. "prepublish": "not-in-publish || npm run prepublishOnly",
  44. "pretest": "npm run --silent lint",
  45. "test": "npm run tests-only",
  46. "posttest": "aud --production",
  47. "tests-only": "npm run test:stock && npm run test:shams",
  48. "test:stock": "nyc node test",
  49. "test:staging": "nyc node --harmony --es-staging test",
  50. "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs",
  51. "test:shams:corejs": "nyc node test/shams/core-js.js",
  52. "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js",
  53. "lint": "eslint --ext=js,mjs .",
  54. "version": "auto-changelog && git add CHANGELOG.md",
  55. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  56. },
  57. "repository": {
  58. "type": "git",
  59. "url": "git+https://github.com/inspect-js/has-tostringtag.git"
  60. },
  61. "bugs": {
  62. "url": "https://github.com/inspect-js/has-tostringtag/issues"
  63. },
  64. "homepage": "https://github.com/inspect-js/has-tostringtag#readme",
  65. "keywords": [
  66. "javascript",
  67. "ecmascript",
  68. "symbol",
  69. "symbols",
  70. "tostringtag",
  71. "Symbol.toStringTag"
  72. ],
  73. "devDependencies": {
  74. "@ljharb/eslint-config": "^21.1.0",
  75. "@types/has-symbols": "^1.0.2",
  76. "@types/tape": "^5.6.4",
  77. "aud": "^2.0.4",
  78. "auto-changelog": "^2.4.0",
  79. "core-js": "^2.6.12",
  80. "eslint": "=8.8.0",
  81. "get-own-property-symbols": "^0.9.5",
  82. "in-publish": "^2.0.1",
  83. "npmignore": "^0.3.1",
  84. "nyc": "^10.3.2",
  85. "safe-publish-latest": "^2.0.0",
  86. "tape": "^5.7.4",
  87. "typescript": "next"
  88. },
  89. "engines": {
  90. "node": ">= 0.4"
  91. },
  92. "auto-changelog": {
  93. "output": "CHANGELOG.md",
  94. "template": "keepachangelog",
  95. "unreleased": false,
  96. "commitLimit": false,
  97. "backfillLimit": false,
  98. "hideCredit": true
  99. },
  100. "publishConfig": {
  101. "ignore": [
  102. ".github/workflows"
  103. ]
  104. },
  105. "dependencies": {
  106. "has-symbols": "^1.0.3"
  107. }
  108. }