1.0.8 • Published 8 years ago
ini-stage v1.0.8
Introduction
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.