Skip to content

A boilerplate for building TypeScript monorepo-style project as soon as possible, including browser and server(node.js) environments in the same time

Notifications You must be signed in to change notification settings

lbwa/ts-monorepo-boilerplate

Repository files navigation

TS Monorepo Boilerplate

Build a monorepo project based on TypeScript as soon as possible.

Features

  • 100% TypeScript support

    Every package has own tsconfig.json for better compatibility

  • Integrate with babeljs

  • Multiple JS environments (browser, nodejs) in the same monorepo

  • Unit test integration based on jest

  • Best practices for project management

Development

Production

The entire production build is based on babeljs, you can modify babel options in the configs/babel.config.js if necessary.

  • All output files will place in packages/*/dist folder.

    $ yarn run build

Unit tests

Support all jest cli options.

  • run all unit tests

    $ yarn run test
  • run all unit tests with watch mode

    $ yarn run test:watch
  • run all unit tests with coverage

    $ yarn run test:ci

License

MIT @ Bowen Liu

About

A boilerplate for building TypeScript monorepo-style project as soon as possible, including browser and server(node.js) environments in the same time

Topics

Resources

Stars

Watchers

Forks