0.1.4 • Published 9 years ago

gulp-tfcsprite v0.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gulp-tfcsprite

Build Status

tfcsprite plugin for gulp

Usage

First, install gulp-tfcsprite as a development dependency:

npm install --save-dev gulp-tfcsprite

Then, add it to your gulpfile.js:

var tfcsprite = require("gulp-tfcsprite");

gulp.src("./src/*.js")
	.pipe(tfcsprite({
	  prefix: '_',
	  sprites: 'sprites'
	}))
	.pipe(gulp.dest("./dist"));

API

tfcsprite(options)

options.prefix

Type: String
Default: _

image name prefix, default is "_"

options.sprites

Type: String
Default: sprites

sprite file json data directory, default is sprites

License

MIT License

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago