An open API service indexing awesome lists of open source software.

https://github.com/colevoss/lerna-typescript-boilerplate

A boilerplate to use when creating typescript monorepos
https://github.com/colevoss/lerna-typescript-boilerplate

Last synced: about 1 year ago
JSON representation

A boilerplate to use when creating typescript monorepos

Awesome Lists containing this project

README

          

# Typescript Lerna Boilerplate

This repo can be used as a template for creating packages that leverage Typescript and Lerna.

## Getting Started

Click **[HERE](https://github.com/colevoss/lerna-typescript-boilerplate/generate)** to create a repo under your
name or org in github. Then clone that repo, install dependencies, and start coding.

## Scripts

This boilerplate comes with the following scripts

### `create`

The create script will create a new package in the `packages` directory with the name provided. It copies
the `boilerplate` package and renames the `name` in the `package.json` with the name provided

```bash
npm run create --
```

### `test`

This will run all tests in the repo. It uses Jest's defaults for finding the tests.

```bash
npm test
```

### `build`

This will build all packages into their own `/dist` directory.

```bash
npm run build
```

### `commit`

This uses [comitizen](https://github.com/commitizen/cz-cli) to help create awesome commit messages

```bash
npm run commit
```