1.1.12 • Published 1 year ago
tlib-cli v1.1.12
TLIB
Zero config for building a Typescript library.
Usage
npx tlib-cli
After entering the project name and package manager, it will automatically configure and install the related dependencies.
NPM scripts
dev
: Runbuild:dev
in watch modetest
: Test the test cases under the test/ directorybuild:dev
: Generate bundles and typings with sourcemapbuild:pro
: Generate minified bundles and typings with terser
Features
Already includes:
Module bundler: RollupJs
Code style: Eslint + Prettier
Code consistency: lint-staged + husky + commitlint
Test: Jest
Automatic releases and changelog
License
MIT