package.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "name": "editions",
  3. "version": "2.3.1",
  4. "description": "Publish multiple editions for your JavaScript packages consistently and easily (e.g. source edition, esnext edition, es2015 edition)",
  5. "homepage": "https://github.com/bevry/editions",
  6. "license": "MIT",
  7. "keywords": [
  8. "editions",
  9. "edition",
  10. "versions",
  11. "syntaxes",
  12. "esnext",
  13. "jsnext",
  14. "es2015",
  15. "es6",
  16. "es6+"
  17. ],
  18. "badges": {
  19. "list": [
  20. "travisci",
  21. "npmversion",
  22. "npmdownloads",
  23. "daviddm",
  24. "daviddmdev",
  25. "---",
  26. "githubsponsors",
  27. "patreon",
  28. "flattr",
  29. "liberapay",
  30. "buymeacoffee",
  31. "opencollective",
  32. "crypto",
  33. "paypal",
  34. "wishlist"
  35. ],
  36. "config": {
  37. "githubSponsorsUsername": "balupton",
  38. "buymeacoffeeUsername": "balupton",
  39. "cryptoURL": "https://bevry.me/crypto",
  40. "flattrUsername": "balupton",
  41. "liberapayUsername": "bevry",
  42. "opencollectiveUsername": "bevry",
  43. "patreonUsername": "bevry",
  44. "paypalURL": "https://bevry.me/paypal",
  45. "wishlistURL": "https://bevry.me/wishlist",
  46. "travisTLD": "com"
  47. }
  48. },
  49. "funding": "https://bevry.me/fund",
  50. "author": "2016+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)",
  51. "maintainers": [
  52. "Benjamin Lupton <b@lupton.cc> (http://balupton.com)"
  53. ],
  54. "contributors": [
  55. "Benjamin Lupton <b@lupton.cc> (http://balupton.com)",
  56. "Zlatan Vasović <zlatanvasovic@gmail.com> (http://zdroid.github.io)",
  57. "dependabot[bot] (http://github.com/apps/dependabot)"
  58. ],
  59. "bugs": {
  60. "url": "https://github.com/bevry/editions/issues"
  61. },
  62. "repository": {
  63. "type": "git",
  64. "url": "https://github.com/bevry/editions.git"
  65. },
  66. "engines": {
  67. "node": ">=0.8"
  68. },
  69. "editions": [
  70. {
  71. "description": "typescript source code with import for modules",
  72. "directory": "source",
  73. "entry": "index.ts",
  74. "tags": [
  75. "typescript",
  76. "import"
  77. ],
  78. "engines": false
  79. },
  80. {
  81. "description": "typescript compiled against ES5 for Node.js with require for modules",
  82. "directory": "edition-es5",
  83. "entry": "index.js",
  84. "tags": [
  85. "javascript",
  86. "es5",
  87. "require"
  88. ],
  89. "engines": {
  90. "node": "0.8 || 0.10 || 0.12 || 4 || 6 || 8 || 10 || 12 || 13 || 14"
  91. }
  92. }
  93. ],
  94. "types": "./compiled-types/",
  95. "type": "commonjs",
  96. "main": "edition-es5/index.js",
  97. "dependencies": {
  98. "errlop": "^2.0.0",
  99. "semver": "^6.3.0"
  100. },
  101. "devDependencies": {
  102. "@typescript-eslint/eslint-plugin": "^2.11.0",
  103. "@typescript-eslint/parser": "^2.11.0",
  104. "assert-helpers": "4.10.0",
  105. "eslint": "^6.7.2",
  106. "eslint-config-bevry": "^2.3.0",
  107. "eslint-config-prettier": "^6.7.0",
  108. "eslint-plugin-prettier": "^3.1.1",
  109. "kava": "3.2.0",
  110. "prettier": "^1.19.1",
  111. "projectz": "^1.16.0",
  112. "surge": "^0.21.3",
  113. "typedoc": "^0.15.4",
  114. "typescript": "^3.7.3",
  115. "valid-directory": "^1.6.0"
  116. },
  117. "scripts": {
  118. "our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
  119. "our:compile": "npm run our:compile:edition-es5 && npm run our:compile:types",
  120. "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",
  121. "our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./compiled-types/ --declarationMap",
  122. "our:deploy": "echo no need for this project",
  123. "our:meta": "npm run our:meta:docs && npm run our:meta:projectz",
  124. "our:meta:docs": "npm run our:meta:docs:typedoc",
  125. "our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source",
  126. "our:meta:projectz": "projectz compile",
  127. "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",
  128. "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
  129. "our:release:check-dirty": "git diff --exit-code",
  130. "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
  131. "our:release:push": "git push origin master && git push origin --tags",
  132. "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\"",
  133. "our:setup": "npm run our:setup:install",
  134. "our:setup:install": "npm install",
  135. "our:test": "npm run our:verify && npm test",
  136. "our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript",
  137. "our:verify:directory": "npx valid-directory",
  138. "our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
  139. "our:verify:prettier": "prettier --write ./source/**",
  140. "our:verify:typescript": "tsc --noEmit --project tsconfig.json",
  141. "test": "node ./edition-es5/test.js"
  142. },
  143. "eslintConfig": {
  144. "extends": [
  145. "bevry"
  146. ]
  147. },
  148. "prettier": {
  149. "semi": false,
  150. "singleQuote": true
  151. },
  152. "boundation": {
  153. "minimumSupportNodeVersion": "0.8",
  154. "minimumTestNodeVersion": "0.8",
  155. "browser": false,
  156. "compiler": "typescript",
  157. "targets": [
  158. "ES5"
  159. ]
  160. },
  161. "__npminstall_done": true,
  162. "_from": "editions@2.3.1",
  163. "_resolved": "https://registry.npmmirror.com/editions/-/editions-2.3.1.tgz"
  164. }