package.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. {
  2. "name": "errlop",
  3. "version": "2.2.0",
  4. "description": "An extended Error class that envelops a parent error, such that the stack trace contains the causation",
  5. "homepage": "https://github.com/bevry/errlop",
  6. "license": "MIT",
  7. "keywords": [
  8. "browser",
  9. "dom",
  10. "error",
  11. "export-default",
  12. "module",
  13. "nerror",
  14. "nested",
  15. "nested-error",
  16. "node",
  17. "ono",
  18. "simple",
  19. "typed",
  20. "types",
  21. "typescript",
  22. "verror"
  23. ],
  24. "badges": {
  25. "list": [
  26. "travisci",
  27. "npmversion",
  28. "npmdownloads",
  29. "daviddm",
  30. "daviddmdev",
  31. "---",
  32. "githubsponsors",
  33. "patreon",
  34. "flattr",
  35. "liberapay",
  36. "buymeacoffee",
  37. "opencollective",
  38. "crypto",
  39. "paypal",
  40. "wishlist"
  41. ],
  42. "config": {
  43. "githubSponsorsUsername": "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. "travisTLD": "com"
  53. }
  54. },
  55. "funding": "https://bevry.me/fund",
  56. "author": "2018+ Benjamin Lupton <b@lupton.cc>",
  57. "maintainers": [
  58. "Benjamin Lupton (http://balupton.com)"
  59. ],
  60. "contributors": [
  61. "Benjamin Lupton (http://balupton.com)"
  62. ],
  63. "bugs": {
  64. "url": "https://github.com/bevry/errlop/issues"
  65. },
  66. "repository": {
  67. "type": "git",
  68. "url": "https://github.com/bevry/errlop.git"
  69. },
  70. "engines": {
  71. "node": ">=0.8"
  72. },
  73. "editions": [
  74. {
  75. "description": "TypeScript source code with Import for modules",
  76. "directory": "source",
  77. "entry": "index.ts",
  78. "tags": [
  79. "typescript",
  80. "import"
  81. ],
  82. "engines": false
  83. },
  84. {
  85. "description": "TypeScript compiled against ES2019 for web browsers with Import for modules",
  86. "directory": "edition-browsers",
  87. "entry": "index.js",
  88. "tags": [
  89. "javascript",
  90. "import"
  91. ],
  92. "engines": {
  93. "node": false,
  94. "browsers": "defaults"
  95. }
  96. },
  97. {
  98. "description": "TypeScript compiled against ES5 for Node.js with Require for modules",
  99. "directory": "edition-es5",
  100. "entry": "index.js",
  101. "tags": [
  102. "javascript",
  103. "es5",
  104. "require"
  105. ],
  106. "engines": {
  107. "node": "0.8 || 0.10 || 0.12 || 4 || 6 || 8 || 10 || 12 || 13 || 14",
  108. "browsers": false
  109. }
  110. }
  111. ],
  112. "types": "source/index.ts",
  113. "type": "commonjs",
  114. "main": "edition-es5/index.js",
  115. "browser": "edition-browsers/index.js",
  116. "module": "edition-browsers/index.js",
  117. "devDependencies": {
  118. "@bevry/update-contributors": "^1.0.1",
  119. "@typescript-eslint/eslint-plugin": "^2.30.0",
  120. "@typescript-eslint/parser": "^2.30.0",
  121. "assert-helpers": "4.10.0",
  122. "eslint": "^6.8.0",
  123. "eslint-config-bevry": "^3.3.0",
  124. "eslint-config-prettier": "^6.11.0",
  125. "eslint-plugin-prettier": "^3.1.3",
  126. "kava": "3.2.0",
  127. "prettier": "^2.0.5",
  128. "projectz": "^1.19.1",
  129. "surge": "^0.21.3",
  130. "typedoc": "^0.17.6",
  131. "typescript": "^3.8.3",
  132. "valid-directory": "^1.6.0",
  133. "valid-module": "^1.0.0"
  134. },
  135. "scripts": {
  136. "our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
  137. "our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es5",
  138. "our:compile:edition-browsers": "tsc --module ESNext --target ES2019 --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true",
  139. "our:compile:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && test -d edition-es5/source && ( mv edition-es5/source edition-temp && rm -Rf edition-es5 && mv edition-temp edition-es5 ) || true",
  140. "our:deploy": "echo no need for this project",
  141. "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz",
  142. "our:meta:contributors": "npx @bevry/update-contributors",
  143. "our:meta:docs": "npm run our:meta:docs:typedoc",
  144. "our:meta:docs:typedoc": "rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source",
  145. "our:meta:projectz": "npx projectz compile",
  146. "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",
  147. "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
  148. "our:release:check-dirty": "git diff --exit-code",
  149. "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
  150. "our:release:push": "git push origin master && git push origin --tags",
  151. "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\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"",
  152. "our:setup": "npm run our:setup:install",
  153. "our:setup:install": "npm install",
  154. "our:test": "npm run our:verify && npm test",
  155. "our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier && npm run our:verify:typescript",
  156. "our:verify:directory": "npx valid-directory",
  157. "our:verify:eslint": "npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
  158. "our:verify:module": "npx valid-module",
  159. "our:verify:prettier": "prettier --write .",
  160. "our:verify:typescript": "tsc --noEmit --project tsconfig.json",
  161. "test": "node ./edition-es5/test.js"
  162. },
  163. "eslintConfig": {
  164. "extends": [
  165. "bevry"
  166. ]
  167. },
  168. "prettier": {
  169. "semi": false,
  170. "singleQuote": true
  171. },
  172. "boundation": {
  173. "minimumSupportNodeVersion": "0.8",
  174. "minimumTestNodeVersion": "0.8",
  175. "compiler": "typescript",
  176. "targets": [
  177. "browser",
  178. "ES5"
  179. ]
  180. },
  181. "__npminstall_done": true,
  182. "_from": "errlop@2.2.0",
  183. "_resolved": "https://registry.npmmirror.com/errlop/-/errlop-2.2.0.tgz"
  184. }