squarezero
v0.14.0
Published
An opinionated tool for creating React projects
Downloads
5
Readme
Square Zero
Square Zero is a tool for creating opinionated React projects. For more information about the different templates available, please see the Templates section below.
How to Install
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
How to Use
The most common and most useful way to use Square Zero is via the command line:
Create a New Project
$ squarezero new example-project
Options template
Make a New Components
$ squarezero make:component ExampleComponent
Templates
React Gatsby
Options hooks proptypes spec styles
Configuration
log rootDir
Command Line Arguments
RC File
Typescript
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.