# grunt-onesky-sync

> Syncronize translations from onesky

Latest version **0.2.0** (published 2015-04-06) · 0 weekly downloads

## Install

```sh
npm install grunt-onesky-sync
pnpm add grunt-onesky-sync
yarn add grunt-onesky-sync
bun add grunt-onesky-sync
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-04-06 |
| First published | 2015-04-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Doron Feldman |
| Maintainers | doronfeldman07 |
| Keywords | gruntplugin |

## Links

- npm: https://www.npmjs.com/package/grunt-onesky-sync
- Repository: https://github.com/doronfeldman/grunt-onesky-sync
- Issues: https://github.com/doronfeldman/grunt-onesky-sync/issues
- npm.io page: https://npm.io/package/grunt-onesky-sync

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.55.0
- [underscore](https://npm.io/package/underscore.md) ^1.8.3

## Recent versions

- 0.2.0 (latest) — 2015-04-06
- 0.1.0 — 2015-04-06

## README

# grunt-onesky-sync

> Syncronize translations from onesky

## Getting Started
This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-onesky-sync --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-onesky-sync');
```

## The "grunt_onesky_sync" task

### Overview
In your project's Gruntfile, add a section named `grunt_onesky_sync` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  grunt_onesky_sync: {
    options: {
      // Task-specific options go here.
    },
    your_target: {
      // Target-specific file lists and/or options go here.
    },
  },
});
```

### Options

#### options.authFile
Type: `String`
Default value: `onesky.json`

A json file with your onesky private key and public key, don't commit it

{
    "publicKey": "",
    "secretKey": ""
}

#### options.langDestination
Type: `String`
Default value: `/`

A string value that is used to do something else with whatever else.

#### options.projectId
Type: `String`

Your onesky project id

### Usage Examples

```js
grunt_onesky_sync: {
      onesky_task: {
        options: {
            authFile: 'onesky.json',
            langDestination: 'resources/lang/',
            projectId: '12345'
        }
      }
    }
```

#### Custom Options

```js
grunt.initConfig({
  grunt_onesky_sync: {
    options: {
       authFile: 'onesky.json',
       langDestination: 'resources/lang/',
       projectId: '12345'
    }
  },
});
```

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
_(Nothing yet)_

---
_Source: https://npm.io/package/grunt-onesky-sync · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
