Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 907 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 907 Bytes

gulp-onesky Build Status

My classy gulp plugin

Install

$ npm install --save-dev gulp-onesky

Usage

var gulp = require('gulp');
var onesky = require('gulp-onesky');

gulp.task('i18n:multilangual-json', () => {
  onesky({
    publicKey: '<onesky account public key>',
    secretKey: '<onesky account secret key>',
    projectId: '<your project id>',
    sourceFile: '<onesky source filename>'
  }))
  .pipe(gulp.dest('src'))
);


gulp.task('i18n:web-extension-locales', () => {
  onesky.locales({
    publicKey: '<onesky account public key>',
    secretKey: '<onesky account secret key>',
    projectId: '<your project id>',
    sourceFile: '<onesky source filename>'
  }))
  .pipe(gulp.dest('src'))
);

License

MIT © Iurii Proshchenko