Skip to content
This repository was archived by the owner on Nov 21, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (36 loc) · 843 Bytes

File metadata and controls

52 lines (36 loc) · 843 Bytes

Contributing to Ream

Running tests

Make sure you have Chrome installed on your machine.

Running all test at once:

npm t

Running above script is essentially running following scripts in serial:

# Build all packages first
npm run build
# Run unit tests in ./test/unit
npm run test:unit
# Run integration tests in ./test/integration
npm run test:integration

Building packages

Building all the packages:

npm run build

Building individual package:

pnpm run build --filter <package-name>

Or build and watch individual package:

pnpm run dev --filter <package-name>

Running the integration apps

Make sure you have run npm run build once.

node packages/ream/cli ./test/integration/404-page
# OR
node packages/ream/cli ./examples/automatic-routing