From 8a190e108f485456663a0d90aa32568f08c72719 Mon Sep 17 00:00:00 2001 From: Florent Vilmart <364568+flovilmart@users.noreply.github.com> Date: Sun, 29 Jul 2018 13:06:37 -0400 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 36b359f37..736fedf11 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,6 +26,21 @@ $ npm install # install all the node dependencies $ code . # launch vscode ``` +### Building the SDK + +The Parse JS SDK is built for three platforms: + +- The browser +- nodejs +- react-native + +When developing the SDK you can use `npm run watch` in order to rebuild your changes upon each saves. +By default, the watch command will rebuild the SDK for the node platform. You can toggle this by setting the environment variable PARSE_BUILD. Valid values are: + +- node +- browser +- react-native + ### Testing the code The SDK is tested through two lenses. unit tests are run with jest and integrationt tests with jasmine.