Zero - v2.0.0
Solo! (Zero v2)
This update forks Zero from kcd-scripts to provide finer grain control over the build process, especially for Babel.
π¦ Zero
Usage: zero <command> [--flags]
Commands:
π build Builds project with Babel (7)
π¦ bundle Bundles project into single files with Rollup
π€ contributors Generates markdown file with all contributors
π
format Formats files with Prettier
π lint Lints files with ESLint
β¨ new Generate a new module
βοΈ pre-commit Lints files before staging for commit
π prestart Automatically install dependencies before starting
π’ release Publish to npm
π€ test Run tests with Jest
πͺ validate Validates project with lint, tests, and build
New commands
This update adds bundle (kcd's Rollup), release (Sindre's np), and prestart (Help Scout's own prestart)!
New prompt
The prompt help message has been customized to be a little bit more helpful.
Babel: Browser by default
A bunch of stuff has been tweaked to Babel to fine-tune it for our needs. Specifically, it prioritizes browser over node builds, which ensures things like async/await are automatically taken care of.
Less scaffolding
With this update, your project no longer needs to extend Babel, ESLint, or Jest (unless you really do have overrides).
Resolves:
