@isfco/craft
A command line tool for creating React apps from template.
Last updated 3 years ago by fcaldera .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @isfco/craft 
SYNC missed versions from official npm registry.

Create React App From Template

Create React apps by using custom templates. This is a wrapper of create-react-app so you can use all its power here. See the create-react-app user guide for more details.

Install

You must have create-react-app installed. Craft would verfiy and warn you in case create-react-app is not present.

npm install -g @isfco/craft

Usage

$ craft <project-directory> <template-url> [options]

  Options:

    -V, --version  output the version number
    -h, --help     output usage information

template-url must be a remote github repository URL.

Template

There is no assumptions on the template scaffolding. It can be literally anything. All the content will be merged with the files generated by default for create-react-app and overwritten in case your template has files with the same names, except for node_modules, package.json, package-lock.json, .git files and folders. They will be skept.

If your template contains a package.json file, the scripts and dependecies will be merged with the one generated for the app. All other sections won't be included.

Current Tags

  • 0.1.2                                ...           latest (3 years ago)

3 Versions

  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 4
Last Month 5
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |