Socket
Socket
Sign inDemoInstall

berber

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

berber - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

2

package.json
{
"name": "berber",
"version": "1.3.1",
"version": "1.4.0",
"description": "Static site generator generator on top of gulp ecosystem",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

# berber v1.3.1
# berber v1.4.0

@@ -175,5 +175,5 @@ [![CircleCI](https://circleci.com/gh/kt3k/berber.svg?style=svg)](https://circleci.com/gh/kt3k/berber)

Currently available events: `config`
Currently available events: `config`, `serve`
### config event
### `config` event

@@ -190,2 +190,6 @@ At `config` event, `cb` is called with given user config object. You can set assets, paths etc according to the user's configuration.

### `serve` event
This event happens when the berber start serving files. The features which only work on serve actions, like livereload, should be set up on this event.
## dest(path)

@@ -273,2 +277,6 @@

# History
- 2018-06-10 v1.4.0 Added `serve` event.
# License

@@ -275,0 +283,0 @@

@@ -95,2 +95,4 @@ const path = require('path')

this.emit('serve')
bulbo.serve()

@@ -97,0 +99,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc