0.0.3 • Published 7 years ago
sc2cj v0.0.3
sc2cj
Readme
- English
- 中文
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