Skip to content

Latest commit

 

History

History
79 lines (47 loc) · 1.96 KB

README.md

File metadata and controls

79 lines (47 loc) · 1.96 KB

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