package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "name": "editions",
  3. "version": "1.3.4",
  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. "patreon",
  27. "opencollective",
  28. "gratipay",
  29. "flattr",
  30. "paypal",
  31. "bitcoin",
  32. "wishlist",
  33. "---",
  34. "slackin"
  35. ],
  36. "config": {
  37. "patreonUsername": "bevry",
  38. "opencollectiveUsername": "bevry",
  39. "gratipayUsername": "bevry",
  40. "flattrUsername": "balupton",
  41. "paypalURL": "https://bevry.me/paypal",
  42. "bitcoinURL": "https://bevry.me/bitcoin",
  43. "wishlistURL": "https://bevry.me/wishlist",
  44. "slackinURL": "https://slack.bevry.me"
  45. }
  46. },
  47. "author": "2016+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)",
  48. "maintainers": [
  49. "Benjamin Lupton <b@lupton.cc> (http://balupton.com)"
  50. ],
  51. "contributors": [
  52. "Benjamin Lupton <b@lupton.cc> (http://balupton.com)",
  53. "Zlatan Vasović <zlatanvasovic@gmail.com> (http://zdroid.github.io)"
  54. ],
  55. "bugs": {
  56. "url": "https://github.com/bevry/editions/issues"
  57. },
  58. "repository": {
  59. "type": "git",
  60. "url": "https://github.com/bevry/editions.git"
  61. },
  62. "engines": {
  63. "node": ">=0.8"
  64. },
  65. "editions": [
  66. {
  67. "description": "Source + ESNext + Require + Flow Type Comments",
  68. "directory": "source",
  69. "entry": "index.js",
  70. "syntaxes": [
  71. "javascript",
  72. "esnext",
  73. "require",
  74. "arrows",
  75. "destructuring",
  76. "const",
  77. "let",
  78. "flow type comments"
  79. ]
  80. },
  81. {
  82. "description": "Babel Compiled + ES2015 + Require",
  83. "directory": "es2015",
  84. "entry": "index.js",
  85. "syntaxes": [
  86. "javascript",
  87. "es2015",
  88. "require"
  89. ]
  90. }
  91. ],
  92. "main": "es2015/index.js",
  93. "dependencies": {},
  94. "devDependencies": {
  95. "assert-helpers": "^4.5.1",
  96. "babel-cli": "^6.26.0",
  97. "babel-preset-es2015": "^6.24.1",
  98. "documentation": "^5.3.5",
  99. "eslint": "^4.16.0",
  100. "flow-bin": "^0.64.0",
  101. "joe": "^2.0.2",
  102. "joe-reporter-console": "^2.0.1",
  103. "projectz": "^1.4.0",
  104. "surge": "^0.19.0"
  105. },
  106. "scripts": {
  107. "our:setup": "npm run our:setup:npm",
  108. "our:setup:npm": "npm install",
  109. "our:clean": "rm -Rf ./docs ./es2015 ./es5 ./out",
  110. "our:compile": "npm run our:compile:es2015",
  111. "our:compile:es2015": "babel ./source --out-dir ./es2015 --presets es2015",
  112. "our:meta": "npm run our:meta:docs && npm run our:meta:projectz",
  113. "our:meta:docs": "documentation build -f html -o ./docs -g --shallow ./source/**.js",
  114. "our:meta:projectz": "projectz compile",
  115. "our:verify": "npm run our:verify:eslint && npm run our:verify:flow",
  116. "our:verify:eslint": "eslint --fix ./source",
  117. "our:verify:flow": "flow check",
  118. "our:test": "npm run our:verify && npm test",
  119. "our:release": "npm run our:release:prepare && npm run our:release:check && npm run our:release:tag && npm run our:release:push",
  120. "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
  121. "our:release:check": "npm run our:release:check:changelog && npm run our:release:check:dirty",
  122. "our:release:check:changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
  123. "our:release:check:dirty": "git diff --exit-code",
  124. "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\"",
  125. "our:release:push": "git push origin master && git push origin --tags",
  126. "test": "node --harmony ./es2015/test.js --joe-reporter=console"
  127. },
  128. "__npminstall_done": true,
  129. "_from": "editions@1.3.4",
  130. "_resolved": "https://registry.npmmirror.com/editions/-/editions-1.3.4.tgz"
  131. }