Links

Contribution Guide

Download, install, build, and test with:
git clone https://github.com/nucypher/nucypher-ts
cd nucypher-ts
yarn install
yarn build
yarn test

Development

Install git hooks
npx husky install
Generate contract typings
yarn typechain
Prepare a new release
yarn run prepare-release

Documentation

To launch a local development version of the documentation:
cd website
yarn run start
This will launch a local server, available at http://localhost:3000.
To release a new version of the documentation:
yarn run docusaurus docs:version 1.1.0

Publishing

Publish a new release on NPM.
Pay attention to the output of these commands and fix your release if needed.
To build and publish a release, run
yarn prepare-release
# Or, to publish an alpha release
yarn prepare-release:alpha
Follow instructions from the command output to finalize the process.