package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "name": "domain-browser",
  3. "version": "4.23.0",
  4. "description": "Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.",
  5. "homepage": "https://github.com/bevry/domain-browser",
  6. "license": "Artistic-2.0",
  7. "keywords": [
  8. "amd",
  9. "browser",
  10. "catch",
  11. "component",
  12. "component.io",
  13. "domain",
  14. "ender.js",
  15. "es5",
  16. "node",
  17. "node-compat",
  18. "require.js",
  19. "try",
  20. "trycatch",
  21. "umd"
  22. ],
  23. "badges": {
  24. "list": [
  25. "githubworkflow",
  26. "npmversion",
  27. "npmdownloads",
  28. "---",
  29. "githubsponsors",
  30. "thanksdev",
  31. "patreon",
  32. "flattr",
  33. "liberapay",
  34. "buymeacoffee",
  35. "opencollective",
  36. "crypto",
  37. "paypal",
  38. "wishlist"
  39. ],
  40. "config": {
  41. "githubWorkflow": "bevry",
  42. "githubSponsorsUsername": "balupton",
  43. "thanksdevGithubUsername": "balupton",
  44. "buymeacoffeeUsername": "balupton",
  45. "cryptoURL": "https://bevry.me/crypto",
  46. "flattrUsername": "balupton",
  47. "liberapayUsername": "bevry",
  48. "opencollectiveUsername": "bevry",
  49. "patreonUsername": "bevry",
  50. "paypalURL": "https://bevry.me/paypal",
  51. "wishlistURL": "https://bevry.me/wishlist",
  52. "githubUsername": "bevry",
  53. "githubRepository": "domain-browser",
  54. "githubSlug": "bevry/domain-browser",
  55. "npmPackageName": "domain-browser"
  56. }
  57. },
  58. "funding": "https://bevry.me/fund",
  59. "author": "2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)",
  60. "maintainers": [
  61. "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
  62. ],
  63. "contributors": [
  64. "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
  65. "Bogdan Chadkin <trysound@yandex.ru> (https://github.com/TrySound)",
  66. "Evan Solomon (https://github.com/evansolomon)",
  67. "Guy Bedford <guybedford@gmail.com> (https://github.com/guybedford)",
  68. "James Halliday <substack@gmail.com> (https://github.com/substack)",
  69. "Sammy filly (https://github.com/X-oss-byte)"
  70. ],
  71. "bugs": {
  72. "url": "https://github.com/bevry/domain-browser/issues"
  73. },
  74. "repository": {
  75. "type": "git",
  76. "url": "https://github.com/bevry/domain-browser.git"
  77. },
  78. "engines": {
  79. "node": ">=10"
  80. },
  81. "editions": [
  82. {
  83. "description": "ES5 source code for web browsers and Node.js with Require for modules",
  84. "directory": "source",
  85. "entry": "index.js",
  86. "tags": [
  87. "source",
  88. "javascript",
  89. "es5",
  90. "require"
  91. ],
  92. "engines": {
  93. "node": "10 || 12 || 14 || 16 || 18 || 20 || 21",
  94. "browsers": "defaults"
  95. }
  96. }
  97. ],
  98. "type": "commonjs",
  99. "main": "source/index.js",
  100. "browser": "source/index.js",
  101. "jspm": {
  102. "map": {
  103. "source/index.js": {
  104. "node": "@node/domain"
  105. }
  106. }
  107. },
  108. "devDependencies": {
  109. "@bevry/update-contributors": "^1.22.0",
  110. "assert-helpers": "^8.4.0",
  111. "kava": "^5.15.0",
  112. "projectz": "^2.23.0",
  113. "valid-directory": "^4.0.0"
  114. },
  115. "scripts": {
  116. "our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
  117. "our:compile": "printf '%s\n' 'no need for this project'",
  118. "our:deploy": "printf '%s\n' 'no need for this project'",
  119. "our:meta": "npm run our:meta:contributors && npm run our:meta:projectz",
  120. "our:meta:contributors": "update-contributors",
  121. "our:meta:projectz": "projectz compile",
  122. "our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",
  123. "our:release:check-changelog": "cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)",
  124. "our:release:check-dirty": "git diff --exit-code",
  125. "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
  126. "our:release:push": "git push origin && git push origin --tags",
  127. "our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"",
  128. "our:setup": "npm run our:setup:install",
  129. "our:setup:install": "npm install",
  130. "our:test": "npm run our:verify && npm test",
  131. "our:verify": "npm run our:verify:directory",
  132. "our:verify:directory": "valid-directory",
  133. "test": "node ./source/test.js"
  134. }
  135. }