0.7.0 • Published 2 years ago

@eljs/scaffold v0.7.0

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

scaffold

lightweight scaffolding tool

Install

$ npm i @eljs/scaffold -g
$ yarn global @eljs/scaffold

Usage

Usage: scaffold <command> [options]

Options:
  -v, --version                  output the current version
  -h, --help                     display help for command

Commands:
  create [options] <package-name>  create a new project

Commands

scaffold create

Usage: scaffold create [options] <package-name>

create a project based on the configuration

Options:
  --config-path <config-path>  The config file path (default: "../dist/default-config.js")
  --group <group>              Specify the template group
  --dest <destination>         The location where the project is generated
  -f, --force                  Overwrite target directory if it exists
  -i, --install                Automatically install dependencies after downloading
  -h, --help                   display help for command

Presets

  • locals.author:git config user email prefix
  • locals.email:git config user email
  • locals.gitUrl:git ssh url
  • locals.gitHref:git website url
  • locals.registry:npm registry
  • locals.year:year corresponding to the current time
  • locals.date:current time, YYYY-MM-DD
  • locals.datetime:current time with time, YYYY-MM-DD hh:mm:ss
  • locals.dirname:directory name
  • locals.shortName: package name without prefix, @eljs/scaffold => scaffold
0.5.0

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.1

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.1-beta.0

2 years ago

0.1.4

2 years ago

0.1.5

2 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago