apeman-scff
Project scaffolding tool.
Last updated 9 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-scff 
SYNC missed versions from official npm registry.

apeman-scff

Build Status npm Version JS Standard

Project scaffolding tool.

Overview

apeman-scff helps you to generate an apeman project structure for quick start.

There are official scaffold plugins supported by apeman team.

Installation

$ npm install apeman-scff -g

Usage

$ apeman-scaffold web my-awesome-project

CLI Options

$ apeman-scff -h

  Usage: apeman-scff [options] [type] [dest] 

  Generate project scaffold.

  Options:

    -h, --help      output usage information
    -V, --version   output the version number
    -t, --straight  Scaffold without asking.
    -s, --silent    Disable console logs
    -f, --force     Force to generate scaffold


Available Types

  • api
  • asset
  • cmd
  • demo
  • db
  • mock
  • middleware
  • lib
  • loc
  • react
  • scff
  • service
  • web

Programmatic API

apeman-scff also provide programmatic API.

Firstly, install the module locally.

$ npm install apeman-scff --save-dev

Then,

'use strict'

const apemanScaffold = require('apeman-scaffold')

// Generate a project with "plain" template.
apemanScaffold('plain', '~/project/my-awesome-project', {}).then(() => {
  /* ... */
})

Programmatic Options

Key Description Default
straight Scaffold without asking.
silent Disable console logs
force Force to generate scaffold

Contribution

You can create your own task plugin quickly with scaffold. Install apeman-scaffold as a global module

$ npm install apeman-scaffold -g

then, generate scaffold.

$ apeman-scaffold scaffold apeman-scaffold-yourown

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 3
Last Month 0
Dependencies (24)
Dev Dependencies (6)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |