gulp-onesky-post

1.0.1 • Public • Published

gulp-onesky-post

Gulp plugin to upload translation files directly to OneSky using their Platform API

Install

$ npm install --save-dev gulp-onesky-post

Usage

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

gulp.task('post', () => (
	gulp.src('en_US.json')
		.pipe(post({
		  locale: 'en_US',
		  secretKey: '12345',
		  publicKey: '67890',
		  projectId: '54321',
		  fileName: 'en_US.json',
		  format: 'HIERARCHICAL_JSON',
		  allowSameAsOriginal: true, // optional (Default: True)
		  keepStrings: false         // optional (Default: False)
		}))
		.pipe(gulp.dest(''))
));

Readme

Keywords

Package Sidebar

Install

npm i gulp-onesky-post

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

4.17 kB

Total Files

3

Last publish

Collaborators

  • sudhakarshah