Table of contents
npm install @hooked74/project-tools
Add the size of the minified gzip module to the .size-snapshot.json file. Converts size from bytes, leading it to optimal.
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.
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
This command is a stripped down version of react-scripts test. Usage:
project-tools test [options]