Update README.md - How to build ripple-lib (#837)

This commit is contained in:
Elliot Lee
2018-07-25 12:09:55 -07:00
committed by GitHub
parent 14704eee6b
commit 4f40b5cb6d

View File

@@ -38,6 +38,24 @@ If you're using the XRP Ledger in production, you should run a [rippled server](
+ [Subscribe to ripple-server](https://groups.google.com/forum/#!forum/ripple-server)
## Development
To build the library for Node.js:
```
$ yarn compile
```
The TypeScript compiler will [output](./tsconfig.json#L7) the resulting JS files in `./dist/npm/`.
To build the library for the browser:
```
$ yarn build
```
Gulp will [output](./Gulpfile.js) the resulting JS files in `./build/`.
For more details, see the `scripts` in `package.json`.
## Running tests
1. Clone the repository