Comparing version 1.0.2 to 1.1.0
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
// ==================================== | ||
@@ -14,40 +16,3 @@ // Custom Badges | ||
*/ | ||
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
exports.badge = badge; | ||
exports.shields = shields; | ||
exports.npmversion = npmversion; | ||
exports.npmdownloads = npmdownloads; | ||
exports.daviddm = daviddm; | ||
exports.daviddmdev = daviddmdev; | ||
exports.saucelabsbm = saucelabsbm; | ||
exports.saucelabs = saucelabs; | ||
exports.travisci = travisci; | ||
exports.codeship = codeship; | ||
exports.coveralls = coveralls; | ||
exports.waffle = waffle; | ||
exports.sixtydevstips = sixtydevstips; | ||
exports.patreon = patreon; | ||
exports.gratipay = gratipay; | ||
exports.flattr = flattr; | ||
exports.paypal = paypal; | ||
exports.bitcoin = bitcoin; | ||
exports.wishlist = wishlist; | ||
exports.slackinscript = slackinscript; | ||
exports.slackin = slackin; | ||
exports.gabeacon = gabeacon; | ||
exports.googleplusone = googleplusone; | ||
exports.redditsubmit = redditsubmit; | ||
exports.hackernewssubmit = hackernewssubmit; | ||
exports.facebooklike = facebooklike; | ||
exports.facebookfollow = facebookfollow; | ||
exports.twittertweet = twittertweet; | ||
exports.twitterfollow = twitterfollow; | ||
exports.githubfollow = githubfollow; | ||
exports.githubstar = githubstar; | ||
exports.quorafollow = quorafollow; | ||
function badge(_ref) { | ||
@@ -69,3 +34,2 @@ var image = _ref.image; | ||
} | ||
badge.badgeCategory = 'custom'; | ||
@@ -84,3 +48,2 @@ | ||
*/ | ||
function shields(_ref2) { | ||
@@ -103,3 +66,2 @@ var left = _ref2.left; | ||
} | ||
shields.badgeCategory = 'custom'; | ||
@@ -116,3 +78,2 @@ | ||
*/ | ||
function npmversion(_ref3) { | ||
@@ -131,3 +92,2 @@ var npmPackageName = _ref3.npmPackageName; | ||
} | ||
npmversion.badgeCategory = 'development'; | ||
@@ -141,3 +101,2 @@ | ||
*/ | ||
function npmdownloads(_ref4) { | ||
@@ -155,3 +114,2 @@ var npmPackageName = _ref4.npmPackageName; | ||
} | ||
npmdownloads.badgeCategory = 'development'; | ||
@@ -165,3 +123,2 @@ | ||
*/ | ||
function daviddm(_ref5) { | ||
@@ -180,3 +137,2 @@ var githubSlug = _ref5.githubSlug; | ||
} | ||
daviddm.badgeCategory = 'development'; | ||
@@ -190,3 +146,2 @@ | ||
*/ | ||
function daviddmdev(_ref6) { | ||
@@ -205,3 +160,2 @@ var githubSlug = _ref6.githubSlug; | ||
} | ||
daviddmdev.badgeCategory = 'development'; | ||
@@ -218,3 +172,2 @@ | ||
*/ | ||
function saucelabsbm(_ref7) { | ||
@@ -236,3 +189,2 @@ var saucelabsUsername = _ref7.saucelabsUsername; | ||
} | ||
saucelabsbm.badgeCategory = 'testing'; | ||
@@ -248,3 +200,2 @@ saucelabsbm.badgeInline = false; | ||
*/ | ||
function saucelabs(_ref8) { | ||
@@ -266,3 +217,2 @@ var saucelabsUsername = _ref8.saucelabsUsername; | ||
} | ||
saucelabs.badgeCategory = 'testing'; | ||
@@ -276,3 +226,2 @@ | ||
*/ | ||
function travisci(_ref9) { | ||
@@ -291,3 +240,2 @@ var githubSlug = _ref9.githubSlug; | ||
} | ||
travisci.badgeCategory = 'testing'; | ||
@@ -302,3 +250,2 @@ | ||
*/ | ||
function codeship(_ref10) { | ||
@@ -319,3 +266,2 @@ var codeshipProjectUUID = _ref10.codeshipProjectUUID; | ||
} | ||
codeship.badgeCategory = 'testing'; | ||
@@ -329,3 +275,2 @@ | ||
*/ | ||
function coveralls(_ref11) { | ||
@@ -344,3 +289,2 @@ var githubSlug = _ref11.githubSlug; | ||
} | ||
coveralls.badgeCategory = 'testing'; | ||
@@ -354,3 +298,2 @@ | ||
*/ | ||
function waffle(_ref12) { | ||
@@ -370,3 +313,2 @@ var githubSlug = _ref12.githubSlug; | ||
} | ||
waffle.badgeCategory = 'testing'; | ||
@@ -383,3 +325,2 @@ | ||
*/ | ||
function sixtydevstips(_ref13) { | ||
@@ -398,3 +339,2 @@ var sixtydevstipsID = _ref13.sixtydevstipsID; | ||
} | ||
sixtydevstips.badgeCategory = 'funding'; | ||
@@ -408,3 +348,2 @@ | ||
*/ | ||
function patreon(_ref14) { | ||
@@ -423,3 +362,2 @@ var patreonUsername = _ref14.patreonUsername; | ||
} | ||
patreon.badgeCategory = 'funding'; | ||
@@ -433,3 +371,2 @@ | ||
*/ | ||
function gratipay(_ref15) { | ||
@@ -448,3 +385,2 @@ var gratipayUsername = _ref15.gratipayUsername; | ||
} | ||
gratipay.badgeCategory = 'funding'; | ||
@@ -458,3 +394,2 @@ | ||
*/ | ||
function flattr(_ref16) { | ||
@@ -473,3 +408,2 @@ var flattrCode = _ref16.flattrCode; | ||
} | ||
flattr.badgeCategory = 'funding'; | ||
@@ -485,3 +419,2 @@ | ||
*/ | ||
function paypal(_ref17) { | ||
@@ -510,3 +443,2 @@ var paypalURL = _ref17.paypalURL; | ||
} | ||
paypal.badgeCategory = 'funding'; | ||
@@ -520,3 +452,2 @@ | ||
*/ | ||
function bitcoin(_ref18) { | ||
@@ -535,3 +466,2 @@ var bitcoinURL = _ref18.bitcoinURL; | ||
} | ||
bitcoin.badgeCategory = 'funding'; | ||
@@ -545,3 +475,2 @@ | ||
*/ | ||
function wishlist(_ref19) { | ||
@@ -560,3 +489,2 @@ var wishlistURL = _ref19.wishlistURL; | ||
} | ||
wishlist.badgeCategory = 'funding'; | ||
@@ -573,3 +501,2 @@ | ||
*/ | ||
function slackinscript(_ref20) { | ||
@@ -584,3 +511,2 @@ var slackinURL = _ref20.slackinURL; | ||
} | ||
slackinscript.badgeCategory = 'social'; | ||
@@ -595,3 +521,2 @@ slackinscript.badgeScript = true; | ||
*/ | ||
function slackin(_ref21) { | ||
@@ -610,3 +535,2 @@ var slackinURL = _ref21.slackinURL; | ||
} | ||
slackin.badgeCategory = 'social'; | ||
@@ -622,3 +546,2 @@ | ||
*/ | ||
function gabeacon(_ref22) { | ||
@@ -639,3 +562,2 @@ var gaTrackingID = _ref22.gaTrackingID; | ||
} | ||
gabeacon.badgeCategory = 'social'; | ||
@@ -649,3 +571,2 @@ | ||
*/ | ||
function googleplusone(_ref23) { | ||
@@ -660,3 +581,2 @@ var homepage = _ref23.homepage; | ||
} | ||
googleplusone.badgeCategory = 'social'; | ||
@@ -671,3 +591,2 @@ googleplusone.badgeScript = true; | ||
*/ | ||
function redditsubmit(_ref24) { | ||
@@ -682,3 +601,2 @@ var homepage = _ref24.homepage; | ||
} | ||
redditsubmit.badgeCategory = 'social'; | ||
@@ -693,3 +611,2 @@ redditsubmit.badgeScript = true; | ||
*/ | ||
function hackernewssubmit(_ref25) { | ||
@@ -704,3 +621,2 @@ var homepage = _ref25.homepage; | ||
} | ||
hackernewssubmit.badgeCategory = 'social'; | ||
@@ -716,3 +632,2 @@ hackernewssubmit.badgeScript = true; | ||
*/ | ||
function facebooklike(_ref26) { | ||
@@ -730,3 +645,2 @@ var homepage = _ref26.homepage; | ||
} | ||
facebooklike.badgeCategory = 'social'; | ||
@@ -742,3 +656,2 @@ facebooklike.badgeScript = true; | ||
*/ | ||
function facebookfollow(_ref27) { | ||
@@ -756,3 +669,2 @@ var facebookUsername = _ref27.facebookUsername; | ||
} | ||
facebookfollow.badgeCategory = 'social'; | ||
@@ -767,3 +679,2 @@ facebookfollow.badgeScript = true; | ||
*/ | ||
function twittertweet(_ref28) { | ||
@@ -778,3 +689,2 @@ var twitterUsername = _ref28.twitterUsername; | ||
} | ||
twittertweet.badgeCategory = 'social'; | ||
@@ -789,3 +699,2 @@ twittertweet.badgeScript = true; | ||
*/ | ||
function twitterfollow(_ref29) { | ||
@@ -800,3 +709,2 @@ var twitterUsername = _ref29.twitterUsername; | ||
} | ||
twitterfollow.badgeCategory = 'social'; | ||
@@ -811,3 +719,2 @@ twitterfollow.badgeScript = true; | ||
*/ | ||
function githubfollow(_ref30) { | ||
@@ -822,3 +729,2 @@ var githubUsername = _ref30.githubUsername; | ||
} | ||
githubfollow.badgeCategory = 'social'; | ||
@@ -833,3 +739,2 @@ githubfollow.badgeScript = true; | ||
*/ | ||
function githubstar(_ref31) { | ||
@@ -848,3 +753,2 @@ var githubSlug = _ref31.githubSlug; | ||
} | ||
githubstar.badgeCategory = 'social'; | ||
@@ -861,3 +765,2 @@ githubstar.badgeScript = true; | ||
*/ | ||
function quorafollow(_ref32) { | ||
@@ -876,4 +779,39 @@ var quoraUsername = _ref32.quoraUsername; | ||
} | ||
quorafollow.badgeCategory = 'social'; | ||
quorafollow.badgeScript = true; | ||
quorafollow.badgeCategory = 'social'; | ||
quorafollow.badgeScript = true; | ||
// Export | ||
module.exports = { | ||
badge: badge, | ||
shields: shields, | ||
npmversion: npmversion, | ||
npmdownloads: npmdownloads, | ||
daviddm: daviddm, | ||
daviddmdev: daviddmdev, | ||
saucelabsbm: saucelabsbm, | ||
saucelabs: saucelabs, | ||
travisci: travisci, | ||
codeship: codeship, | ||
coveralls: coveralls, | ||
waffle: waffle, | ||
sixtydevstips: sixtydevstips, | ||
patreon: patreon, | ||
gratipay: gratipay, | ||
flattr: flattr, | ||
paypal: paypal, | ||
bitcoin: bitcoin, | ||
wishlist: wishlist, | ||
slackinscript: slackinscript, | ||
slackin: slackin, | ||
gabeacon: gabeacon, | ||
googleplusone: googleplusone, | ||
redditsubmit: redditsubmit, | ||
hackernewssubmit: hackernewssubmit, | ||
facebooklike: facebooklike, | ||
facebookfollow: facebookfollow, | ||
twittertweet: twittertweet, | ||
twitterfollow: twitterfollow, | ||
githubfollow: githubfollow, | ||
githubstar: githubstar, | ||
quorafollow: quorafollow | ||
}; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
exports.renderBadge = renderBadge; | ||
exports.renderBadges = renderBadges; | ||
var badges = require('./badges'); | ||
exports.badges = badges; | ||
/** | ||
@@ -18,3 +12,2 @@ Render a specified badge with the appropriate wrapping (div if block badge, span if inline badge) | ||
*/ | ||
function renderBadge(badgeName) { | ||
@@ -50,3 +43,2 @@ var config = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; | ||
*/ | ||
function renderBadges(list) { | ||
@@ -85,2 +77,9 @@ var config = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; | ||
return results.join('\n'); | ||
} | ||
} | ||
// Export | ||
module.exports = { | ||
badges: badges, | ||
renderBadge: renderBadge, | ||
renderBadges: renderBadges | ||
}; |
@@ -0,1 +1,3 @@ | ||
'use strict' | ||
// ==================================== | ||
@@ -14,3 +16,3 @@ // Custom Badges | ||
*/ | ||
export function badge ({image, alt, url, title}) { | ||
function badge ({image, alt, url, title}) { | ||
// Check | ||
@@ -39,3 +41,3 @@ if ( !image ) throw new Error('image is missing') | ||
*/ | ||
export function shields ({left, right, color = 'yellow', alt, url, title}) { | ||
function shields ({left, right, color = 'yellow', alt, url, title}) { | ||
// Check | ||
@@ -61,3 +63,3 @@ if ( !left ) throw new Error('left is missing') | ||
*/ | ||
export function npmversion ({npmPackageName}) { | ||
function npmversion ({npmPackageName}) { | ||
// Check | ||
@@ -81,3 +83,3 @@ if ( !npmPackageName ) throw new Error('npmPackageName is missing') | ||
*/ | ||
export function npmdownloads ({npmPackageName}) { | ||
function npmdownloads ({npmPackageName}) { | ||
// Check | ||
@@ -100,3 +102,3 @@ if ( !npmPackageName ) throw new Error('npmPackageName is missing') | ||
*/ | ||
export function daviddm ({githubSlug}) { | ||
function daviddm ({githubSlug}) { | ||
// Check | ||
@@ -120,3 +122,3 @@ if ( !githubSlug ) throw new Error('githubSlug is missing') | ||
*/ | ||
export function daviddmdev ({githubSlug}) { | ||
function daviddmdev ({githubSlug}) { | ||
// Check | ||
@@ -144,3 +146,3 @@ if ( !githubSlug ) throw new Error('githubSlug is missing') | ||
*/ | ||
export function saucelabsbm ({saucelabsUsername, saucelabsAuthToken}) { | ||
function saucelabsbm ({saucelabsUsername, saucelabsAuthToken}) { | ||
// Check | ||
@@ -168,3 +170,3 @@ if ( !saucelabsUsername ) throw new Error('saucelabsUsername is missing') | ||
*/ | ||
export function saucelabs ({saucelabsUsername, saucelabsAuthToken}) { | ||
function saucelabs ({saucelabsUsername, saucelabsAuthToken}) { | ||
// Check | ||
@@ -190,3 +192,3 @@ if ( !saucelabsUsername ) throw new Error('saucelabsUsername is missing') | ||
*/ | ||
export function travisci ({githubSlug}) { | ||
function travisci ({githubSlug}) { | ||
// Check | ||
@@ -211,3 +213,3 @@ if ( !githubSlug ) throw new Error('githubSlug is missing') | ||
*/ | ||
export function codeship ({codeshipProjectUUID, codeshipProjectID}) { | ||
function codeship ({codeshipProjectUUID, codeshipProjectID}) { | ||
// Check | ||
@@ -232,3 +234,3 @@ if ( !codeshipProjectUUID ) throw new Error('codeshipProjectUUID is missing') | ||
*/ | ||
export function coveralls ({githubSlug}) { | ||
function coveralls ({githubSlug}) { | ||
// Check | ||
@@ -252,3 +254,3 @@ if ( !githubSlug ) throw new Error('githubSlug is missing') | ||
*/ | ||
export function waffle ({githubSlug}) { | ||
function waffle ({githubSlug}) { | ||
// Check | ||
@@ -258,3 +260,3 @@ if ( !githubSlug ) throw new Error('githubSlug is missing') | ||
// Create | ||
let label = 'ready' | ||
const label = 'ready' | ||
const image = `https://badge.waffle.io/${githubSlug}.png?label=${escape(label)}` | ||
@@ -278,3 +280,3 @@ const url = `http://waffle.io/${githubSlug}` | ||
*/ | ||
export function sixtydevstips ({sixtydevstipsID}) { | ||
function sixtydevstips ({sixtydevstipsID}) { | ||
// Check | ||
@@ -298,3 +300,3 @@ if ( !sixtydevstipsID ) throw new Error('sixtydevstipsID is missing') | ||
*/ | ||
export function patreon ({patreonUsername}) { | ||
function patreon ({patreonUsername}) { | ||
// Check | ||
@@ -318,3 +320,3 @@ if ( !patreonUsername ) throw new Error('patreonUsername is missing') | ||
*/ | ||
export function gratipay ({gratipayUsername}) { | ||
function gratipay ({gratipayUsername}) { | ||
// Check | ||
@@ -338,3 +340,3 @@ if ( !gratipayUsername ) throw new Error('gratipayUsername is missing') | ||
*/ | ||
export function flattr ({flattrCode}) { | ||
function flattr ({flattrCode}) { | ||
// Check | ||
@@ -360,3 +362,3 @@ if ( !flattrCode ) throw new Error('flattrCode is missing') | ||
*/ | ||
export function paypal ({paypalURL, paypalButtonID, paypalUsername}) { | ||
function paypal ({paypalURL, paypalButtonID, paypalUsername}) { | ||
// Check | ||
@@ -390,3 +392,3 @@ if ( !paypalURL ) { | ||
*/ | ||
export function bitcoin ({bitcoinURL}) { | ||
function bitcoin ({bitcoinURL}) { | ||
// Check | ||
@@ -410,3 +412,3 @@ if ( !bitcoinURL ) throw new Error('bitcoinURL is missing') | ||
*/ | ||
export function wishlist ({wishlistURL}) { | ||
function wishlist ({wishlistURL}) { | ||
// Check | ||
@@ -434,3 +436,3 @@ if ( !wishlistURL ) throw new Error('wishlistURL is missing') | ||
*/ | ||
export function slackinscript ({slackinURL}) { | ||
function slackinscript ({slackinURL}) { | ||
// Check | ||
@@ -451,3 +453,3 @@ if ( !slackinURL ) throw new Error('slackinURL is missing') | ||
*/ | ||
export function slackin ({slackinURL}) { | ||
function slackin ({slackinURL}) { | ||
// Check | ||
@@ -473,3 +475,3 @@ if ( !slackinURL ) throw new Error('slackinURL is missing') | ||
*/ | ||
export function gabeacon ({gaTrackingID, githubSlug}) { | ||
function gabeacon ({gaTrackingID, githubSlug}) { | ||
// Check | ||
@@ -494,3 +496,3 @@ if ( !gaTrackingID ) throw new Error('gaTrackingID is missing') | ||
*/ | ||
export function googleplusone ({homepage}) { | ||
function googleplusone ({homepage}) { | ||
// Check | ||
@@ -511,3 +513,3 @@ if ( !homepage ) throw new Error('homepage is missing') | ||
*/ | ||
export function redditsubmit ({homepage}) { | ||
function redditsubmit ({homepage}) { | ||
// Check | ||
@@ -528,3 +530,3 @@ if ( !homepage ) throw new Error('homepage is missing') | ||
*/ | ||
export function hackernewssubmit ({homepage}) { | ||
function hackernewssubmit ({homepage}) { | ||
// Check | ||
@@ -546,3 +548,3 @@ if ( !homepage ) throw new Error('homepage is missing') | ||
*/ | ||
export function facebooklike ({homepage, facebookApplicationID}) { | ||
function facebooklike ({homepage, facebookApplicationID}) { | ||
// Prepare | ||
@@ -566,3 +568,3 @@ if ( !homepage ) throw new Error('homepage is missing') | ||
*/ | ||
export function facebookfollow ({facebookUsername, facebookApplicationID}) { | ||
function facebookfollow ({facebookUsername, facebookApplicationID}) { | ||
// Prepare | ||
@@ -585,3 +587,3 @@ if ( !facebookUsername ) throw new Error('facebookUsername is missing') | ||
*/ | ||
export function twittertweet ({twitterUsername}) { | ||
function twittertweet ({twitterUsername}) { | ||
// Prepare | ||
@@ -602,3 +604,3 @@ if ( !twitterUsername ) throw new Error('twitterUsername is missing') | ||
*/ | ||
export function twitterfollow ({twitterUsername}) { | ||
function twitterfollow ({twitterUsername}) { | ||
// Prepare | ||
@@ -619,3 +621,3 @@ if ( !twitterUsername ) throw new Error('twitterUsername is missing') | ||
*/ | ||
export function githubfollow ({githubUsername}) { | ||
function githubfollow ({githubUsername}) { | ||
// Prepare | ||
@@ -636,3 +638,3 @@ if ( !githubUsername ) throw new Error('githubUsername is missing') | ||
*/ | ||
export function githubstar ({githubSlug}) { | ||
function githubstar ({githubSlug}) { | ||
// Prepare | ||
@@ -659,3 +661,3 @@ if ( !githubSlug ) throw new Error('githubSlug is missing') | ||
*/ | ||
export function quorafollow ({quoraUsername, quoraRealname, quoraCode}) { | ||
function quorafollow ({quoraUsername, quoraRealname, quoraCode}) { | ||
// Prepare | ||
@@ -675,1 +677,37 @@ if ( !quoraUsername ) throw new Error('quoraUsername is missing') | ||
quorafollow.badgeScript = true | ||
// Export | ||
module.exports = { | ||
badge, | ||
shields, | ||
npmversion, | ||
npmdownloads, | ||
daviddm, | ||
daviddmdev, | ||
saucelabsbm, | ||
saucelabs, | ||
travisci, | ||
codeship, | ||
coveralls, | ||
waffle, | ||
sixtydevstips, | ||
patreon, | ||
gratipay, | ||
flattr, | ||
paypal, | ||
bitcoin, | ||
wishlist, | ||
slackinscript, | ||
slackin, | ||
gabeacon, | ||
googleplusone, | ||
redditsubmit, | ||
hackernewssubmit, | ||
facebooklike, | ||
facebookfollow, | ||
twittertweet, | ||
twitterfollow, | ||
githubfollow, | ||
githubstar, | ||
quorafollow | ||
} |
@@ -1,3 +0,5 @@ | ||
export const badges = require('./badges') | ||
'use strict' | ||
const badges = require('./badges') | ||
/** | ||
@@ -10,3 +12,3 @@ Render a specified badge with the appropriate wrapping (div if block badge, span if inline badge) | ||
*/ | ||
export function renderBadge (badgeName, config = {}) { | ||
function renderBadge (badgeName, config = {}) { | ||
if ( badgeName === '---' ) { | ||
@@ -39,3 +41,3 @@ return '<br class="badge-separator" />' | ||
*/ | ||
export function renderBadges (list, config = {}, options = {filterCategory: false, filterScripts: true}) { | ||
function renderBadges (list, config = {}, options = {filterCategory: false, filterScripts: true}) { | ||
// Prepare | ||
@@ -71,1 +73,8 @@ const results = [] | ||
} | ||
// Export | ||
module.exports = { | ||
badges, | ||
renderBadge, | ||
renderBadges | ||
} |
@@ -1,6 +0,8 @@ | ||
// 18 September 2015 | ||
// https://github.com/bevry/base | ||
// 2015 December 8 | ||
// https://github.com/bevry/esnextguardian | ||
'use strict' | ||
module.exports = require('esnextguardian')( | ||
require('path').join(__dirname, 'esnext', 'lib', 'index.js'), | ||
require('path').join(__dirname, 'es5', 'lib', 'index.js') | ||
require('path').join(__dirname, 'esnext', 'lib', 'index.js'), | ||
require('path').join(__dirname, 'es5', 'lib', 'index.js'), | ||
require | ||
) |
# History | ||
## v1.0.2 September 18, 2015 | ||
## v1.1.0 2015 December 9 | ||
- Updated internal conventions | ||
## v1.0.2 2015 September 18 | ||
- Added `60devstips` badge for https://tips.60devs.com | ||
- We now use the [esnextguardian](https://github.com/bevry/esnextguardian) package, instead of just bundling it | ||
## v1.0.1 September 16, 2015 | ||
## v1.0.1 2015 September 16 | ||
- Always use https | ||
## v1.0.0 September 16, 2015 | ||
## v1.0.0 2015 September 16 | ||
- Initial working release | ||
- Consolidated badges from: | ||
- [projectz](https://github.com/bevry/projectz) | ||
- [docpad-plugin-services](https://github.com/docpad/docpad-plugin-services) | ||
- [docpad-plugin-services](https://github.com/docpad/docpad-plugin-services) |
@@ -23,2 +23,2 @@ <!-- LICENSEFILE/ --> | ||
<!-- /LICENSEFILE --> | ||
<!-- /LICENSEFILE --> |
{ | ||
"name": "badges", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "The definitive collection of badges for rendering", | ||
@@ -104,2 +104,3 @@ "homepage": "https://github.com/bevry/badges", | ||
}, | ||
"browsers": true, | ||
"dependencies": { | ||
@@ -109,5 +110,5 @@ "esnextguardian": "^1.0.2" | ||
"devDependencies": { | ||
"assert-helpers": "^3.0.0", | ||
"babel": "^5.8.23", | ||
"babel-eslint": "^4.1.1", | ||
"assert-helpers": "^4.1.0", | ||
"babel-cli": "^6.3.15", | ||
"babel-preset-es2015": "^6.3.13", | ||
"eslint": "^1.4.1", | ||
@@ -118,4 +119,7 @@ "joe": "^1.6.0", | ||
}, | ||
"main": "./esnextguardian.js", | ||
"browser": "./es5/lib/index.js", | ||
"main": "./esnextguardian.js", | ||
"jspm": { | ||
"main": "./es5/lib/index.js" | ||
}, | ||
"scripts": { | ||
@@ -122,0 +126,0 @@ "clean": "node --harmony nakefile.js clean", |
@@ -42,2 +42,11 @@ <!-- TITLE/ --> | ||
<a href="http://browserify.org" title="Browserify lets you require('modules') in the browser by bundling up all of your dependencies"><h3>Browserify</h3></a><ul> | ||
<li>Install: <code>npm install --save badges</code></li> | ||
<li>Use: <code>require('badges')</code></li> | ||
<li>CDN URL: <code>//wzrd.in/bundle/badges@1.1.0</code></li></ul> | ||
<a href="http://enderjs.com" title="Ender is a full featured package manager for your browser"><h3>Ender</h3></a><ul> | ||
<li>Install: <code>ender add badges</code></li> | ||
<li>Use: <code>require('badges')</code></li></ul> | ||
<!-- /INSTALL --> | ||
@@ -211,2 +220,2 @@ | ||
<!-- /LICENSE --> | ||
<!-- /LICENSE --> |
Sorry, the diff of this file is not supported yet
87827
12
1895
220