1.0.4 • Published 3 years ago

@shack-js/template-repo v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

template-repo

create projects from template repo

usage

npm i @shack-js/template-repo
import tpl from '@shack-js/template-repo'

...
  await tpl(
    { name: 'abc' },  // config
    `https://github.com/shack-js/template-basic.git`, // repo of template 
    target // generate to path
  )
...

template standard

+-- defaults.json // default values
+-- ejs.json // ejs options
+-- template // files to be templated
     +-- ...
          +-- ...
     +-- ...
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago