Comparing version 1.5.2 to 2.0.0
@@ -64,3 +64,3 @@ // @see https://en.wikipedia.org/wiki/Emoji | ||
export default function render(tweet = { }) { | ||
module.exports = function(tweet = { }) { | ||
let { text = '' } = tweet; | ||
@@ -67,0 +67,0 @@ const { entities = { } } = tweet; |
{ | ||
"name": "tweet.md", | ||
"version": "1.5.2", | ||
"version": "2.0.0", | ||
"description": "Render tweet to markdown", | ||
"main": "index.es5.js", | ||
"main": "index.js", | ||
"scripts": { | ||
"transpile": "babel index.js --out-file index.es5.js", | ||
"examples": "babel-node examples.js", | ||
"examples": "node examples.js", | ||
"preversion": "npm run examples", | ||
"prepublish": "npm run test && npm run transpile && npm run examples", | ||
"coverage": "rm -rf coverage/ && babel-node ./node_modules/.bin/isparta cover _mocha --report lcovonly -- -r babel/register test/*.js", | ||
"test": "mocha -r babel/register test/*.js", | ||
"travis": "npm run coverage && cat coverage/lcov.info | coveralls" | ||
"prepublish": "npm run test && npm run examples", | ||
"coverage": "istanbul cover _mocha test/index.js", | ||
"test": "mocha test/index.js", | ||
"travis": "npm run coverage; cat ./coverage/lcov.info | coveralls" | ||
}, | ||
@@ -29,7 +28,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"babel": "^5.8.23", | ||
"coveralls": "^2.11.4", | ||
"isparta": "^3.0.4", | ||
"istanbul": "^0.4.4", | ||
"mocha": "^2.3.3" | ||
}, | ||
"engines": { | ||
"node": "^6.0.0" | ||
} | ||
} |
@@ -6,3 +6,2 @@ # Tweet markdown renderer | ||
[![Coveralls](https://img.shields.io/coveralls/silentroach/tweet.md.svg?style=flat-square&label=coverage)](https://coveralls.io/r/silentroach/tweet.md) | ||
[![David](https://img.shields.io/david/dev/silentroach/tweet.md.svg?style=flat-square&label=deps)](https://david-dm.org/silentroach/tweet.md#info=devDependencies) | ||
@@ -9,0 +8,0 @@ Render your [tweets](https://dev.twitter.com/overview/api/tweets) with [entities](https://dev.twitter.com/overview/api/entities) to beautiful markdown. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
6975
6
106
66