@mozilla/rally-sdk
v1.1.8
Published
The Rally partner support library.
Downloads
84
Readme
@mozilla/rally-sdk
This is the Rally partner support library, used to manage the lifecycle of Rally studies.
This library is used in the Rally Study Template.
TypeScript vs. JS
This project is written in TypeScript, which you may use directly from your TypeScript code, or you may use the TypeScript compiler to build rally.js
.
Building rally.js
First, install dependencies:
npm install
Then, build rally.js
:
npm run build
Manual testing using npm link
Manual testing can be done as follows:
- Run
npm link
in this directory (rally-sdk
) - In the directory of the testing grounds (e.g. the study-template), run
npm link "@mozilla/rally-sdk"
. This will make the test project use the local version of@mozilla/rally-sdk
, automatically tracking any change to it.
And to undo the linking:
- Run
npm unlink "@mozilla/rally-sdk"
in the testing directory. - Run
npm unlink
in thesupport/
directory.