npm.io
1.0.10 • Published 7 years agoCLI

engineering-tools

Licence
ISC
Version
1.0.10
Deps
4
Size
11 kB
Vulns
0
Weekly
0

Engineering Tools

A engineering build tools for improve development efficiency

Installing

Using npm:

$ npm install engineering-tools -D

Usage

add a new command in Package.json Example:

"scripts": {
  "create": "Engtools"
},
$ npm run create

API

Path

Template path, has default path, if user want use local template need config it.

"scripts": {
  "create": "Engtools -p PATH"
}

Notice

Every template need a config.json file to tell how to create.

Config.json

type

Accepted 'file' or 'dir', 'file' mean create a file, 'dir' mean create a folder.

name

create file or folder's name

template

file content use this path template

files

Accepted child file or folder