ini-stage

1.0.8 • Public • Published

Introduction

npm version Build Status

An initialization scaffolding tool for front-end developer. I'm use it to initialize my project scaffolding, and no need to create the project folder struct every time, just use the commonder line in ini -s.

中文文档

Install with npm

npm install -g ini-stage

Usage

Usage: ini [options]

Options:

  -h, --help     output usage information
  -V, --version  output the version number
  -s [git], --start [git]   Start initialize. The git is optional, refers to automatic initialization git

If you want to create a custom directory structure,as long as in the root path of project to create a config.json file, in which contains a directory structure configuration, and the type of config.json must be an Array type. Also, ini-stage provides a default config.json that is a common front-end development project directory structure,its body is as follows.

[
    "html",
    "css",
    {
        "js":[
            "lib",
            "mod",
            "pkg"
        ]
    },
    "images",
    "psd",
    "doc",
    "test",
    "template",
    "backup",
    "#README.md"
]
 
  • prefix # refers to a file, otherwise is a folder.
  • the object refer to contains sub directory.

License

MIT.

Package Sidebar

Install

npm i ini-stage

Weekly Downloads

6

Version

1.0.8

License

MIT

Last publish

Collaborators

  • zhangyihua