🍹 Gulp plugin for compile Banana code to CSS.
$ npm install gulp-banana --save-dev
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']);
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
Follow the Banana NodeJS style guide.
Validate the code style with ESLint:
$ npm run eslint
Run the unit tests with mocha:
$ npm test
Calculate the coverage with Istanbul:
$ npm run cover
To keep better organization of releases we follow the Semantic Versioning 2.0.0 guidelines.
Find on our issues the next steps of the project ;)
Want to contribute? Follow these recommendations.
See Releases for detailed changelog.