Skip to content

seppwc/typescript-monorepo-starter

Repository files navigation

Typescript Monorepo Starter

This repo is a template for a typescript monorepo project.

techstack used

  • typescript
  • jest/ts-jest
  • lerna
  • eslint
  • rollup
  • commitlint
  • husky
  • commitizen
  • yarn

install

    npx degit Phl3bas/typescript-monorepo-starter

scripts

    yarn dev # start build in watch mode - yarn dev core (run watch mode for package 'core') yarn dev core (build core package) [flags: --f/--formats, --s/--sourceMap]
    yarn build # run build - yarn build core (build core package) [flags: --f/--formats, --s/--sourceMap]
    yarn new # creates a new boilerplate package in packages folder
    yarn test # run unit tests
    yarn test:coverage # run unit tests in coverage mode

    # untils, mainly used by husky
    yarn lerna 
    yarn prepare
    yarn lint-staged
    yarn commitlint
    yarn setup
    yarn bootstrap
    # build
    yarn build core # build core packages
    yarn build core,api # build core and api packages
    yarn build core --formats es # build core package to esm format
    yarn build core --sourceMap # build core package with sourcemaps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published