0.1.4 • Published 10 years ago

gulp-tfcsprite v0.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
10 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

10 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago