This package provides scripts for common build tooling for the essex team. The philosophy of
these scripts are to provide a recommended configuration while allowing for escape-hatching.
Setup
Add the following configuration to your package.json. If you're in a monorepo, this should be defined at the top level:
{
"devDependencies":{
"@essex/scripts":"<latest version>"
},
"prettier":"@essex/prettier-config",
"husky":{
"hooks":{
"pre-commit":"essex pre-commit"
}
}
}
The prettier section allows for pretty-quick (used by our build system) and Visual Studio Code to detect the active prettier configuration.
The husky section wires our scripts into the husky hooks.
Additional build tooling is wired in via invoking essex. Check out the available scripts and recipes below.
Scripts
Scripts are invoked via the essex CLI tool. Commands are in the form essex <commmand> <options>.
To view detailed options, run essex <command> --help or essex --help