Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "berber", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Static site generator generator on top of gulp ecosystem", | ||
@@ -42,5 +42,5 @@ "main": "index.js", | ||
"kocha": "^1.8.0", | ||
"nyc": "^11.0.2", | ||
"standard": "^10.0.2" | ||
"nyc": "^12.0.1", | ||
"standard": "^11.0.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# berber v1.2.0 | ||
# berber v1.3.0 | ||
@@ -144,2 +144,3 @@ [![CircleCI](https://circleci.com/gh/kt3k/berber.svg?style=svg)](https://circleci.com/gh/kt3k/berber) | ||
loggerTitle, | ||
addMiddleware, | ||
action | ||
@@ -241,2 +242,14 @@ } = require('berber') | ||
## addMiddleware(middleware) | ||
- @param {Function} middleware | ||
Adds the connect compliant middleware to the server. | ||
``` | ||
const livereload = require('connect-livereload') | ||
addMiddleware(() => livereload()) | ||
``` | ||
## action(name, description, cb) | ||
@@ -243,0 +256,0 @@ |
@@ -20,4 +20,5 @@ const Berber = require('./berber') | ||
exports.action = (name, description, cb) => berber.addAction(name, description, cb) | ||
exports.addMiddleware = middleware => bulbo.addMiddleware(middleware) | ||
// Access to internal berber instance | ||
exports.instance = berber |
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
129767
276
279