Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Latest commit

 

History

History
42 lines (28 loc) · 1.12 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.12 KB

Deprecated: incorporated into Brunch 3

init-skeleton

A simple interface that clones or copies skeletons. skeleton is a base repo for your application (any technology).

init-skeleton currently just clones or copies the repository, executes npm install and bower install and removes .git directory. Useful for Brunch and Grunt base repos (skeletons).

grunt-init is similar, except it requires to clone projects to home directory before initialising from it.

Supported formats:

  • File system
  • Git URI
  • GitHub URI (gh:user/project, github:user/project)

Install with npm: npm install init-skeleton.

Usage

const initSkeleton = require('init-skeleton').init;

initSkeleton('skeleton').then(() => {
  console.log('Cloned');
});
  • options:
    • rootPath - String, root path of the result directory
    • commandName: String, defaults to init-skeleton
    • logger: console.{log,error}-compatible logger.

License

MIT (c) 2016 Paul Miller (http://paulmillr.com)