gulp-phrase

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i gulp-phrase

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • danjesus