Build a monorepo project based on TypeScript as soon as possible.
-
100%
TypeScript
supportEvery 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
-
Code formatter based on prettier, lint-staged
-
Code linter based on eslint (for
JavaScript
files) and typescript-eslint (forTypeScript
files) -
Git hooks based on husky
-
-
run with TS compiler watch mode.
$ yarn run watch
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
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
MIT @ Bowen Liu