package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "get-symbol-description",
  3. "version": "1.1.0",
  4. "description": "Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./getInferredName": "./getInferredName.js",
  9. "./package.json": "./package.json"
  10. },
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "prepublishOnly": "safe-publish-latest",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=.js,.mjs .",
  17. "postlint": "tsc && 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/inspect-js/get-symbol-description.git"
  28. },
  29. "keywords": [
  30. "symbol",
  31. "ecmascript",
  32. "javascript",
  33. "description"
  34. ],
  35. "author": "Jordan Harband <ljharb@gmail.com>",
  36. "funding": {
  37. "url": "https://github.com/sponsors/ljharb"
  38. },
  39. "license": "MIT",
  40. "bugs": {
  41. "url": "https://github.com/inspect-js/get-symbol-description/issues"
  42. },
  43. "homepage": "https://github.com/inspect-js/get-symbol-description#readme",
  44. "dependencies": {
  45. "call-bound": "^1.0.3",
  46. "es-errors": "^1.3.0",
  47. "get-intrinsic": "^1.2.6"
  48. },
  49. "devDependencies": {
  50. "@arethetypeswrong/cli": "^0.17.1",
  51. "@ljharb/eslint-config": "^21.1.1",
  52. "@ljharb/tsconfig": "^0.2.2",
  53. "@types/for-each": "^0.3.3",
  54. "@types/get-intrinsic": "^1.2.3",
  55. "@types/object-inspect": "^1.13.0",
  56. "@types/tape": "^5.7.0",
  57. "auto-changelog": "^2.5.0",
  58. "encoding": "^0.1.13",
  59. "es-value-fixtures": "^1.5.0",
  60. "eslint": "=8.8.0",
  61. "evalmd": "^0.0.19",
  62. "for-each": "^0.3.3",
  63. "hasown": "^2.0.2",
  64. "in-publish": "^2.0.1",
  65. "npmignore": "^0.3.1",
  66. "nyc": "^10.3.2",
  67. "object-inspect": "^1.13.3",
  68. "safe-publish-latest": "^2.0.0",
  69. "tape": "^5.9.0",
  70. "typescript": "^5.8.0-dev.20241216"
  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. ]
  87. }
  88. }