All Projects → 99x → react-scaffolder

99x / react-scaffolder

Licence: MIT license
⚡ Scaffolding tool for React

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-scaffolder

Generator Sails Rest Api
Yeoman generator for scaffolding Sails REST API with predefined features
Stars: ✭ 336 (+681.4%)
Mutual labels:  scaffold, scaffolding
Bozon
🛠 Command line tool for building, testing and publishing modern Electron applications
Stars: ✭ 687 (+1497.67%)
Mutual labels:  scaffold, scaffolding
tfstage
TFStage: TensorFlow Project Scaffolding
Stars: ✭ 64 (+48.84%)
Mutual labels:  scaffold, scaffolding
dr scaffold
scaffold django rest apis like a champion 🚀
Stars: ✭ 116 (+169.77%)
Mutual labels:  scaffold, scaffolding
Larawiz
Larawiz is a easy project scaffolder for Laravel
Stars: ✭ 28 (-34.88%)
Mutual labels:  scaffold, scaffolding
Project Name
Get the name of a project from package.json, git config, or basename of the current working directory.
Stars: ✭ 8 (-81.4%)
Mutual labels:  scaffold, scaffolding
Delon
Delon is a set of essential modules for ng-alain. https://github.com/ng-alain/ng-alain/issues
Stars: ✭ 586 (+1262.79%)
Mutual labels:  scaffold, scaffolding
Structor
Structor - React UI Builder [DEPRECATED]
Stars: ✭ 5,522 (+12741.86%)
Mutual labels:  react-components, scaffold
Template Micro Service
Scaffolding out a micro-service
Stars: ✭ 12 (-72.09%)
Mutual labels:  scaffold, scaffolding
Generate Gh Repo
Generate generator to create a new repository on GitHub.
Stars: ✭ 11 (-74.42%)
Mutual labels:  scaffold, scaffolding
Generate
A new command line tool and developer framework for scaffolding out GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
Stars: ✭ 238 (+453.49%)
Mutual labels:  scaffold, scaffolding
Materials
官方精品物料仓库
Stars: ✭ 159 (+269.77%)
Mutual labels:  react-components, scaffold
lerna-starter
Simple React UI Development environment boilerplate to develop, test and publish your React components.
Stars: ✭ 55 (+27.91%)
Mutual labels:  react-components
go-echo-server-sandbox
A scaffold of golang web server using labstack/echo
Stars: ✭ 12 (-72.09%)
Mutual labels:  scaffold
jest-puppe-shots
A Jest plugin for creating screenshots of React components with a little help of Puppeteer
Stars: ✭ 86 (+100%)
Mutual labels:  react-components
Unchase.Odata.Connectedservice
📜 A Visual Studio extension for connecting to OData services with generating client-side C# proxy-classes
Stars: ✭ 39 (-9.3%)
Mutual labels:  scaffolding
Unchase.OpenAPI.Connectedservice
📜 Visual Studio extension to generate OpenAPI (Swagger) web service reference.
Stars: ✭ 69 (+60.47%)
Mutual labels:  scaffolding
wordpress-scaffold
The scaffold for GRRR's WordPress Pro setup.
Stars: ✭ 16 (-62.79%)
Mutual labels:  scaffold
preset
Elegant, ecosystem-agnostic preset mechanism
Stars: ✭ 132 (+206.98%)
Mutual labels:  scaffolding
three-render-objects
Easy way to render ThreeJS objects with built-in interaction defaults
Stars: ✭ 33 (-23.26%)
Mutual labels:  scaffolding

logo

react-scaffolder Dependency status Build Status

Join the chat at https://gitter.im/react-scaffolder/Lobby

Scaffolding tool for React

react-scaffolder is a command line interface which brings smooth developer experience (DX) for React devs. react-scaffolder provides a better way to generate react projects with react-boilerplate. With this tool it's possible to continue generating boilerplate code with heavy customizations once a project is initiated.

Install

$ npm install -g react-scaffolder

or if you're using yarn,

$ yarn global add react-scaffolder

Quick Start

Quickest way to get up and running with react-scaffolder

  • Install the CLI - $ npm install -g react-scaffolder

  • Initiate a project - $ react init awesome-project && cd awesome-project

  • Install dependencies - $ npm install

  • Run the build - $ npm run build && npm start

  • Instantly create React components - $ react g component feed footer

  • Check with interactive view - $ react v -c

Usage

react init [name] [git repository URL]

alias: i

name

Project name.

Git repository URL (optional)

Git repository URL that you need to use as the template.

Options

  • -l Add eslint configuration.

react generate component [module] [component]

alias: g

module

Module name where the react component should be placed within. (Subdirectory within components directory)

component

React component name. If you leave that empty generator creates folder with module name, and index.js inside

Options

  • -f Generate only file and use module as filename

Define propNames

At "Prop names" question you can use "*" to mark as required title* and also you can define type title:string and sure you can write title:string* If you didn't define a type cli will ask you to choose it from the list.


react generate test [module] [component]

alias: g

Create React component.

module

Module name where the test file should be placed within. (Subdirectory within tests directory)

component

Test file name.


react view -c -t

alias: v

View react components and test files.

Options

  • -c View React components file directory.

  • -t View tests file directory.

react config [key] [value]

alias: c

Change configuration in .reactclirc.

key

Key for configuration example: client

value

Value for configuration example: src (source directory)


Configuring existing projects

To use react-cli in existing React project navigate to directory where React components are created. Create react-cli configuration file, .reactclirc (similar to .babelrc). Add configuration in key value pairs.

{
	"client": "src"
}

This specifies that React components are placed in src/components directory.


Features

  • Initiate React projects
  • Create React components
  • Create test files
  • Interactive view of the component structure

Future work

References

Contributor guidelines

  • Fork the repository.
  • Clone the forked repository.
  • Create your own branch.
  • Create tests and make sure tests pass on travis.
  • Create a pull request with changes made.

For more information refer CONTRIBUTING.md

License

MIT © 99XT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].