Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 1.28 KB

DEVELOPING.adoc

File metadata and controls

76 lines (56 loc) · 1.28 KB

Participating in RNRH development

Initializing the project

Clone the project:

git clone [email protected]:meliorence/react-native-render-html.git

Then yarn-install:

cd react-native-render-html
yarn install

Package sources

Package sources are located in packages/render-html.

Scripts

The project is using Yarn Berry’s workspaces. There is an alias to work from react-native-render-html workspace:

yarn render-html

You can then run the following commands:

Most significant scripts

Description

yarn render-html test:jest --watch

Launch jest test in watch mode

yarn render-html test:ts

Run Typescript typechecking

yarn render-html test:lint

Run linter

yarn render-html build

Transpile TS → ES

Demo app

yarn build:tools
yarn render-html build

From now-on, you should be able to try out the demo app with

yarn demo start

Documentation

All the doc pages are React components available in doc-tools/doc-pages/src/pages and are built for both the Discovery expo app and website.