Square Zero is a tool for creating opinionated React projects. For more information about the different templates available, please see the Templates section below.
Install via yarn
or npm
. It is recommended that you install the package globally, as this will allow you to create new projects.
$ yarn add -g squarezero
$ npm install -g squarezero
The most common and most useful way to use Square Zero is via the command line:
$ squarezero new example-project
Options template
$ squarezero make:component ExampleComponent
React Gatsby
Options hooks proptypes spec styles
log rootDir
At the moment Typescript is only supported when using make
commands on existing projects. Simply add 'ts: true' to the project's squarezero.config.js
to get started.