Skip to content

ElisaBaum/lerna-react-starter

Repository files navigation

lerna

lerna-react-starter

This project is an application skeleton for managing JavaScript projects with multiple packages.

The seed contains a common application with react components which are used in a sample react application.

It is preconfigured to link dependencies and bundle everything together.

Installation

Requirements

node.js and npm (npm comes with node.js) are required

Dependencies

npm install

Build tool

parcel is used to bundle and build the app (automatically installed with npm install).

Development server

Run development server with

npm start

This will link the local packages, install remaining package dependencies and start a development server with parcel, which will automatically rebuild the apps as files change.

Testing

Run tests with code coverage with

npm test

Test configurations can be found in /config directory. Code coverage requirements can be defined in jest.config.js.

Linting

For linting code, tslint is used and can be configured in tslint.json. Linting is always executed while building the app and could be started separately via

npm run cover

Deployment & build

Build final bundle with

npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published