gulp-lispyscript

0.0.2 • Public • Published

Lispyscript to Javascript transpiler for Gulp

Forked From https://github.com/babel/gulp-babel

Install

$ npm install --save-dev gulp-lispyscript

Usage

var gulp = require('gulp');
var lispyscript = require('gulp-lispyscript');
 
gulp.task('default', function () {
    return gulp.src('src/app.js')
        .pipe(lispyscript())
        .pipe(gulp.dest('dist'));
});

API

lispyscript(options)

options

sourceMap and filename which are handled for you.

Source Maps

Use gulp-sourcemaps like this:

var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var lispyscript = require('gulp-lispyscript');
var concat = require('gulp-concat');
 
gulp.task('default', function () {
    return gulp.src('src/**/*.js')
        .pipe(sourcemaps.init())
        .pipe(lispyscript())
        .pipe(concat('all.js'))
        .pipe(sourcemaps.write('.'))
        .pipe(gulp.dest('dist'));
});

License

MIT © John Henry

Package Sidebar

Install

npm i gulp-lispyscript

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • johnhenry