Skip to content

bananacss/gulp-banana

Repository files navigation

gulp-banana

🍹 Gulp plugin for compile Banana code to CSS.

Build Status Coverage Status Dependency Status devDependency Status npm npm

Install

$ npm install gulp-banana --save-dev

Usage

const gulp = require('gulp');
const banana = require('gulp-banana');

gulp.task('banana', () => {
  gulp.src(['src/**.bnn'])
    .pipe(banana())
    .pipe(gulp.dest('dist'));
});

gulp.task('default', ['banana']);

Options

gulp.task('banana', () => {
  gulp.src(['src/**.bnn'])
    .pipe(banana({
      bnnVariable : true,
      bnnImport : true,
      compress : false
    }))
    .pipe(gulp.dest('dist'));
});

All options have true as default value, except the compress. View all

Development

Code Style

Follow the Banana NodeJS style guide.

Validate the code style with ESLint:

$ npm run eslint

Tests

Run the unit tests with mocha:

$ npm test

Calculate the coverage with Istanbul:

$ npm run cover

Versioning

To keep better organization of releases we follow the Semantic Versioning 2.0.0 guidelines.

Contributing

Find on our issues the next steps of the project ;)
Want to contribute? Follow these recommendations.

History

See Releases for detailed changelog.

License

MIT License © Afonso Pacifer

About

🍹 Gulp plugin for compile Banana code to CSS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published