0.0.3 • Published 7 years ago

sc2cj v0.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

sc2cj

Readme

Description

powered by gulp.

gulpfile.js example

const Sc2cj = require('sc2cj');
const sc2cj = new Sc2cj();

sc2cj.enqueueTask({
    name: 'name',
    //target folder
    target: {
        js: 'path/to/js/folder',
        css: 'path/to/css/folder'
    },
    // compile file
    source: {
        sass: 'path/to/main.scss',
        coffee: [
            'path/to/folder/*.coffee',
            'path/to/file.coffee'
        ]
    },
    // watch range
    range: {
        sass: [
            'path/to/*.scss',
            'path/to/one.scss'
        ],
        coffee: [
            'path/to/*.coffee'
        ]
    }
});

sc2cj.registerTasks();

gulp

gulp
gulp development
gulp publication