package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "has-tostringtag",
  3. "version": "1.0.0",
  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. "exports": {
  23. ".": "./index.js",
  24. "./shams": "./shams.js",
  25. "./package.json": "./package.json"
  26. },
  27. "scripts": {
  28. "prepublishOnly": "safe-publish-latest",
  29. "prepublish": "not-in-publish || npm run prepublishOnly",
  30. "pretest": "npm run --silent lint",
  31. "test": "npm run tests-only",
  32. "posttest": "aud --production",
  33. "tests-only": "npm run test:stock && npm run test:staging && npm run test:shams",
  34. "test:stock": "nyc node test",
  35. "test:staging": "nyc node --harmony --es-staging test",
  36. "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs",
  37. "test:shams:corejs": "nyc node test/shams/core-js.js",
  38. "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js",
  39. "lint": "eslint --ext=js,mjs .",
  40. "version": "auto-changelog && git add CHANGELOG.md",
  41. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  42. },
  43. "repository": {
  44. "type": "git",
  45. "url": "git+https://github.com/inspect-js/has-tostringtag.git"
  46. },
  47. "bugs": {
  48. "url": "https://github.com/inspect-js/has-tostringtag/issues"
  49. },
  50. "homepage": "https://github.com/inspect-js/has-tostringtag#readme",
  51. "keywords": [
  52. "javascript",
  53. "ecmascript",
  54. "symbol",
  55. "symbols",
  56. "tostringtag",
  57. "Symbol.toStringTag"
  58. ],
  59. "dependencies": {
  60. "has-symbols": "^1.0.2"
  61. },
  62. "devDependencies": {
  63. "@ljharb/eslint-config": "^17.6.0",
  64. "aud": "^1.1.5",
  65. "auto-changelog": "^2.3.0",
  66. "core-js": "^2.6.12",
  67. "eslint": "^7.32.0",
  68. "get-own-property-symbols": "^0.9.5",
  69. "nyc": "^10.3.2",
  70. "safe-publish-latest": "^1.1.4",
  71. "tape": "^5.3.0"
  72. },
  73. "engines": {
  74. "node": ">= 0.4"
  75. },
  76. "auto-changelog": {
  77. "output": "CHANGELOG.md",
  78. "template": "keepachangelog",
  79. "unreleased": false,
  80. "commitLimit": false,
  81. "backfillLimit": false,
  82. "hideCredit": true
  83. }
  84. }