lokalise
Version:
A tool to retrieve your localization files from lokali.se
48 lines (31 loc) • 849 B
Markdown
## Formatting & linting
This project formats its source code using Standard JS. You can use `--fix` to automatically format your code
```ssh-session
yarn lint --fix
```
## Running Tests
```sh-session
yarn test
```
## How to try a development build of Lokalise in another project
To link `lokalise` on the command line to `bin/lokalise.js` in a development build:
```sh-session
$ cd /path/to/your/Lokalise_clone
$ yarn link
```
To build Lokalise:
```sh-session
$ cd /path/to/your/Lokalise_clone
$ yarn build
```
To run tests in another project with the development build of Lokalise:
```sh-session
$ cd /path/to/another/project
# link development build to the other project
$ yarn link lokalise
$ yarn lokalise
```
To unlink `lokalise` on the command line from `bin/lokalise.js` in a development build:
```sh
yarn unlink lokalise
```