reactweb-cli
A simple CLI for scaffolding React.js web projects.
Last updated 2 years ago by jameszhang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install reactweb-cli -g
SYNC missed versions from official npm registry.

reactweb-cli

用于创建react web工程的一个脚手架工具.

安装

Node.js (>=4.x, 6.x preferred), npm version 3+ and Git.

$ npm install -g reactweb-cli

使用

$ reactweb init <project-name>

举例:

$ reactweb init my-project

此命令将会在当前目录下生成一个react web工程.使用webpack作为打包工具.

目录结构

    + build         // webpack相关配置
    + config        // 配置
    - src           // 源码
        - asserts       // 静态资源
            + imgs          // 图片: png, jpg...
            + styles        // 样式: css, less...
        + components   // React组件
    + static        // 高度静态资源
    + test          // 测试相关
    .babelrc        // babel配置
    .eslintignore   // eslint 忽略配置
    .eslintrc.js    // eslint 配置
    .gitignore      // git 忽略配置
    .postcssrc.js   // postcss配置
    index.html      // html模板
    package.json
    README.md

License

MIT

Current Tags

  • 1.0.10                                ...           latest (2 years ago)

10 Versions

  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 3
Last Day 0
Last Week 2
Last Month 20
Dependencies (15)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |