Build a monorepo project based on TypeScript as soon as possible.
-
100%
TypeScriptsupportEvery 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
JavaScriptfiles) and typescript-eslint (forTypeScriptfiles) -
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/*/distfolder.$ 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