gulp-pseudolocalize
v0.0.7
Published
The grunt-pseudolocalize code used as a template to create this gulp plugin.
Downloads
1
Readme
gulp-pseudolocalize
The grunt-pseudolocalize code used as a template to create this gulp plugin.
Installation
$ npm install gulp-pseudolocalize
The following will read the resource.json file and output a new file in the same directory called pseudo.json.
Please see grunt-pseudolocalize for options to pass into the pseudo function.
var pseudo = require('gulp-pseudolocalize');
var dest = require('gulp-dest');
gulp.task('pseudo', function () {
return gulp
.src('./path/to/resource.json')
.pipe(pseudo({ pretty: true }))
.pipe(dest('./resources/:name.json', { name: 'pseudo' }))
.pipe(gulp.dest('./path/to/'));
});
This read me will be updated with more information soon.