@ftw/catalyst
Generates React components.
Last updated 2 years ago by danmartens .
MIT · Original npm · Tarball · package.json
$ cnpm install @ftw/catalyst -g
SYNC missed versions from official npm registry.

Catalyst · Build Status

Catalyst is an opinionated tool for creating and maintaining React/Redux applications. It sets up Webpack, Flow, ESLint, React, Redux, Redux Saga, SASS, Autoprefixer, and more!

Starting a New Project

$ yarn global add @ftw/catalyst
$ catalyst init

Basic Project Structure

├─ bundles
|  └─ application
|     ├─ index.js
|     ├─ reducer.js
|     ├─ saga.js
|     ├─ store-provider.js
|     └─ styles.scss
|
├─ components
|  ├─ __tests__
|  └─ component-name
|     ├─ index.js
|     ├─ styles.scss
|     └─ sub-component-name
|        ├─ index.js
|        └─ styles.scss
|
├─ modules
|  └─ module-name
|     ├─ __tests__
|     ├─ index.js
|     ├─ reducer.js
|     ├─ action-creators.js
|     ├─ saga.js
|     ├─ requests.js
|     └─ getters.js
|
├─ utils
|  └─ request.js
|
├─ config
|  └─ webpack.js
|
└─ styles
   └─ index.scss

Starting the Development Server

You can start the Webpack server with:

$ yarn start

By default, the server will be accessible at http://localhost:8080. You can override this by setting DEV_SERVER_HOST and/or DEV_SERVER_PORT environment variables.

If you want to be able to access your development server from other devices on your local network, you can start it like this:

$ DEV_SERVER_HOST=`ipconfig getifaddr en0` yarn start

Where en0 is the network device you're using.

Current Tags

  • 0.0.25                                ...           latest (2 years ago)

24 Versions

  • 0.0.25                                ...           2 years ago
  • 0.0.24                                ...           2 years ago
  • 0.0.23                                ...           2 years ago
  • 0.0.22                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           3 years ago
  • 0.0.19                                ...           3 years ago
  • 0.0.18                                ...           3 years ago
  • 0.0.17                                ...           3 years ago
  • 0.0.16                                ...           3 years ago
  • 0.0.15                                ...           3 years ago
  • 0.0.14                                ...           3 years ago
  • 0.0.13                                ...           3 years ago
  • 0.0.12                                ...           3 years ago
  • 0.0.11                                ...           3 years ago
  • 0.0.10                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 25
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |