Nightingale Posing Mischievously
    Wondering what’s next for npm?Check out our public roadmap! »

    @hooked74/project-tools

    1.3.10 • Public • Published

    Project Tools

    Build Status npm License

    Table of contents

    Install

    npm install @hooked74/project-tools
    

    Usage

    project-tools <command>
    

    Available Commands

    size

    Add the size of the minified gzip module to the .size-snapshot.json file. Converts size from bytes, leading it to optimal.

    types

    Format types in a compiled project and add common types from src/react-app-env.d.ts to the dist/common.d.ts. Also add a reference to the common.d.ts file in index.d.ts.

    chain-commands

    start the first npm process and while it's running it execute the second npm process. Usage:

    project-tools chain-commands [options] <command1> <command2>
    

    Has the following options:

    • -p, --port <port>  process port
    • -t, --timeout <timeout>  first process timeout

    test

    This command is a stripped down version of react-scripts test. Usage:

    project-tools test [options]
    

    The command has the same options as Jest. More information can be obtained here.

    Install

    npm i @hooked74/project-tools

    DownloadsWeekly Downloads

    47

    Version

    1.3.10

    License

    MIT

    Unpacked Size

    23.4 kB

    Total Files

    20

    Last publish

    Collaborators

    • avatar