New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

gulp-jstyle

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-jstyle

gulp plugin for jstyle


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

gulp-jstyle

Gulp plugin for jstyle.

Install

$ npm install --save-dev gulp-jstyle

You also need to have jstyle installed.

Usage

var gulp = require('gulp');
var jstyle = require('gulp-jstyle');

gulp.task('default', function () {
	return gulp.src('css.js')
		.pipe(jstyle({minifyClassNames: true}))
		.pipe(gulp.dest('build'));
});

API

jstyle(options)

options
executable

Type: String
Default: jstyle

Path to jstyle executable.

minifyClassNames

Type: Boolean
Default: false

Minify class names and generate json map with minified names.

closureMap

Type: Boolean
Default: false

Generate javascript file with minified class names for google-closure library.

closureMapPrefix

Type: String
Default: css.map

Package name prefix for closure map file.

FAQs

Package last updated on 17 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts