tscu

    1.3.3 • Public • Published

    tscu

    tscu = tsc + uglify

    To publish a library with typescript more easily

    Need dependencies

    Project need typescript dependencies

    Example:

    Build tsx and uglify-js, and copy css files:

    npx tscu example/src/lib --outDir ./es --outLib ./lib --copy 'package.json, README.md'

    Only uglify-js dir:

    npx tscu -c ./es
    # or 
    npx tscu src/barm --outDir es-barm -t es5
    # or 
    npx tscu src/barm --outDir es-barm --no-clear

    Keywords

    none

    Install

    npm i tscu

    DownloadsWeekly Downloads

    43

    Version

    1.3.3

    License

    MIT

    Unpacked Size

    9.46 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar