View the API Reference at https://authgear.github.io/authgear-sdk-js/.
$ npm install --save @authgear/web
$ npm install --save @authgear/react-native
First, fork the repository.
$ git clone --branch master git@github.com:<myusername>/authgear-sdk-js.git
$ cd authgear-sdk-js
$ npm ci
$ npm run lerna bootstrap
$ (cd website && yarn install --frozen-lockfile)
First, ensure these tools are installed:
yarn
github-release
git-chglog
Also, Git should be configured to be able to sign using GPG keys, and npm should be logged in as appropriate user.
# VERSION should be in format like "0.1.0"
$ GIT_USER=<github-username> GITHUB_TOKEN=<github-token> GIT_BRANCH=master VERSION=<new-version> ./scripts/release.sh