Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/floatdrop/gulp-bem-pack
Browserify JavaScript files with levels support
https://github.com/floatdrop/gulp-bem-pack
Last synced: about 2 months ago
JSON representation
Browserify JavaScript files with levels support
- Host: GitHub
- URL: https://github.com/floatdrop/gulp-bem-pack
- Owner: floatdrop
- Created: 2014-08-27T06:22:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-31T17:03:09.000Z (over 10 years ago)
- Last Synced: 2024-08-03T17:10:19.409Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# gulp-bem-pack
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
Gulp wrapper of [bem-pack](https://github.com/floatdrop/bem-pack).
## Usage
```js
var gulp = require('gulp');
var bempack = require('gulp-bem-pack');gulp.src(['base/*.js', 'main/*.js'])
.pipe(bempack('index.js'))
.pipe(gulp.dest('dist'));
```## API
### gulp-bem-pack(filename, [options])
#### filename
Type: `String`File name of generated JavaScript file.
#### options
Type: `Object`Object with options, that will be directly passed to [bem-pack](https://github.com/floatdrop/bem-pack).
## License
MIT (c) 2014 Vsevolod Strukchinsky
[npm-url]: https://npmjs.org/package/gulp-bem-pack
[npm-image]: http://img.shields.io/npm/v/gulp-bem-pack.svg?style=flat[travis-url]: http://travis-ci.org/floatdrop/gulp-bem-pack
[travis-image]: http://img.shields.io/travis/floatdrop/gulp-bem-pack.svg?branch=master&style=flat