Skip to content

Commit

Permalink
Merge pull request #20 from zhiyelee/pkgdepup
Browse files Browse the repository at this point in the history
version bump
  • Loading branch information
zhiyelee committed Mar 25, 2015
2 parents 6f23881 + f82d354 commit 24156e8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,7 @@ node_js:
- "0.10"
- "0.11"
- "0.12"
- "io.js"
matrix:
fast_finish: true
script: "npm run-script test-travis"
Expand Down
8 changes: 6 additions & 2 deletions History.md
@@ -1,7 +1,11 @@

2.2.5 / 2015-02-06
2.2.5 / 2015-03-25
==================
* clean css

* upgrade `serve-markdown`
* add `debug` support
* add `coverage` and `gitter` badges
* now support `0.12` and `io.js`

2.2.4 / February 5, 2015
==================
Expand Down
5 changes: 2 additions & 3 deletions lib/server.js
Expand Up @@ -8,7 +8,6 @@ var connect = require('connect')
, debug = require('debug')('mdserver')
, path = require('path');


/**
* init options
*/
Expand Down Expand Up @@ -66,8 +65,8 @@ function startServer(options) {
debug('server run in ' + (process.env.TEST ? 'TEST' : 'PRODUCTION') + ' mode')
if (!TEST) {
app.listen(options.port);
showSuccessInfo(options);
}
showSuccessInfo(options);

return app;
}
Expand All @@ -80,7 +79,7 @@ module.exports = startServer;
function showSuccessInfo(options) {

// server start success
if (options.silent || process.env.TEST) return;
if (options.silent) return;

console.log(chalk.blue('serve start Success: ')
+ '\n'
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "mdserver",
"version": "2.2.4",
"version": "2.2.5",
"description": "static http server with markdown supported",
"main": "index.js",
"bin": "index.js",
Expand All @@ -12,7 +12,7 @@
"marked": "^0.3.2",
"moment": "^2.8.3",
"serve-index": "^1.5.0",
"serve-markdown": "^1.0.1",
"serve-markdown": "^1.1.0",
"serve-static": "^1.7.0"
},
"devDependencies": {
Expand Down

0 comments on commit 24156e8

Please sign in to comment.