0.0.4 • Published 9 years ago

gulp-phrase v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

gulp-phrase

A simple gulp plugin to use phraseapp, this lib donwload all internationalization and save in specifc path.

Code Climate

Install

$ npm install gulp-phrase --save-dev

Usage

var phrase = require('gulp-phrase');
gulp.task('gulp-phrase', function() {
   phrase({
        apiToken: 'YOUR PHRASEAPP API TOKEN HERE',
        dir: 'PAHT TO SAVE FILES',
        tag: 'OPTIONAL'
   }, function(files) {
    // Array whith filenames
    // Now you can iterate in array for change filenames
   });
});

TODO

  • Write tests