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
- Host: GitHub
- URL: https://github.com/colevoss/lerna-typescript-boilerplate
- Owner: colevoss
- Created: 2020-02-26T06:16:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T08:20:25.000Z (over 3 years ago)
- Last Synced: 2025-02-14T04:18:10.075Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.77 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
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
```