RevenueCat is a powerful, reliable, and free to use in-app purchase server with cross-platform support. This repository includes all you need to manage your subscriptions on your website or web app using RevenueCat.
Sign up to get started for free.
Login @ app.revenuecat.com
npm install --save @revenuecat/purchases-js
yarn add --save @revenuecat/purchases-js
See the RevenueCat docs and the SDK Reference.
npm install
npm run build:dev
To avoid publishing the package you can set it up as a local dependency. In your testing project install the library as.
npm i /path/to/purchases-js
npm run test
npm run test:typeCheck
npm run svelte-check
npm run prettier
npm run lint
npm run build
cd examples/rcbilling-demo
npm run build
# In a different terminal or background the process
npm run dev
npm run test
npm run extract-api
This will update the files in api-report
with the latest public API.
If it has uncommited changes, CI tests will fail. Run this command and commit the changes if
they are expected.
New versions are automated weekly, but you can also trigger a new release through CircleCI or locally following these steps:
bundle exec fastlane bump
and follow the instructions