0.7.1 • Published 6 years ago

gulp-oyana v0.7.1

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
6 years ago

Gulp-Oyana

NPM 5.5.1 Gulp 3.9.1

How to install

If you havent gulp.

  • Unix: sudo npm install gulp -g.
  • Windows: npm install gulp -g.

If you havent create your package.json yet.

  • npm init

Install

  • npm install gulp-oyana --save-dev.

How to use

In your gulpfile.js.

var oyana = require('gulp-oyana');
var options = {
	"jsMinPath" : "./public/js",
	"jsPath" : "./resources/js",
	"jsName" : "main.min",
	"cssPath" : "./public/css",
	"scssPath" : "./resources/scss",
	"outputStyle" : "compressed",
	"imgMinPath" : "./public/img",
	"imgPath" : "./resources/img",
	"proxyPath" : "http://localhost"
}
oyana( options );

Use only the options you need!

Command line:

CommandEffectAlias
gulp js-compileCompile all js from jsPath to jsMinPath.gulp js, gulp jquery, gulp script
gulp js-compile-silentCompile all js from jsPath to jsMinPath without notification.
gulp scss-compileCompile all scss from scssPath to cssPath in outputStyle.gulp scss, gulp sass, gulp compass,
gulp scss-compile-silentCompile all scss from scssPath to cssPath in outputStyle without notification.
gulp img-minimizeMinimize all Images from imgPath to imgMinPath.gulp img, gulp image, gulp images, gulp minimize
gulp img-minimize-silentMinimize all Images from imgPath to imgMinPath without notification.
gulp watchWatch all scss, js, img and compile on update.
gulp watch-silentWatch all scss, js, img and compile on update without notification.
gulp oyanaCompile all files then watch it.gulp
gulp oyana-silentCompile all files then watch it without notification.gulp *