0.14.0 • Published 5 years ago
squarezero v0.14.0
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 squarezeroHow 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-projectOptions template
Make a New Components
$ squarezero make:component ExampleComponentTemplates
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.