Comparing version 0.3.1 to 0.3.2
@@ -34,3 +34,3 @@ var msee = require('./msee'); | ||
var text = msee.parseFile(file); | ||
console.log(text); | ||
process.stdout.write(text); | ||
} | ||
@@ -48,3 +48,3 @@ catch (e) { | ||
var out = msee.parse(text); | ||
console.log(out); | ||
process.stdout.write(out); | ||
}); | ||
@@ -51,0 +51,0 @@ } |
var chalk = require('chalk'); | ||
var os = require('os'); | ||
var lightColor = os.platform() === 'linux' ? chalk.white : chalk.grey; | ||
var colorBrushes = { | ||
"syntax": chalk.grey, | ||
"syntax": lightColor, | ||
"heading": chalk.cyan.bold, | ||
"hr": chalk.grey, | ||
"code": chalk.grey, | ||
"hr": lightColor, | ||
"code": lightColor, | ||
"blockquote": chalk.blue, | ||
@@ -9,0 +12,0 @@ "bold": chalk.bold, |
{ | ||
"name": "msee", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Msee is a command-line tool to read Markdown file in your terminal, and it's a library help your command-line software to output readable markdown content.", | ||
"main": "./lib/msee.js", | ||
"bin": "./bin/msee", | ||
"scripts": { | ||
"test": "env FORCE_COLOR=true tap --lines=85 test/**/*.js" | ||
}, | ||
"repository": { | ||
@@ -14,3 +17,3 @@ "type": "git", | ||
"ansicolors": "^0.3.2", | ||
"cardinal": "^0.6.0", | ||
"cardinal": "^0.7.1", | ||
"chalk": "^1.1.1", | ||
@@ -34,6 +37,12 @@ "marked": "^0.3.5", | ||
"author": "Firede <firede@firede.us>", | ||
"contributors": [ | ||
"Martin Heidegger <martin.heidegger@gmail.com>" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/firede/msee/issues" | ||
}, | ||
"devDependencies": { | ||
"tap": "^5.7.1" | ||
} | ||
} |
@@ -5,2 +5,4 @@ msee | ||
[![NPM version](https://img.shields.io/npm/v/msee.svg?style=flat-square)](https://npmjs.org/package/msee) | ||
[![Travis](https://img.shields.io/travis/firede/msee/master.svg?style=flat-square)](https://travis-ci.org/firede/msee) | ||
[![Coveralls branch](https://img.shields.io/coveralls/firede/msee/master.svg?style=flat-square)](https://coveralls.io/github/firede/msee?branch=master) | ||
[![Dependencies Status](https://img.shields.io/david/firede/msee.svg?style=flat-square)](https://david-dm.org/firede/msee) | ||
@@ -7,0 +9,0 @@ [![download per month](https://img.shields.io/npm/dm/msee.svg?style=flat-square)](https://npmjs.org/package/msee) |
Sorry, the diff of this file is not supported yet
43335
18
671
52
1
2
+ Addedcardinal@0.7.1(transitive)
- Removedcardinal@0.6.0(transitive)
Updatedcardinal@^0.7.1