@hooked74/project-tools
v1.3.10
Published
Helper tools for project
Downloads
221
Maintainers
Readme
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.