A simple interface that clones or copies skeletons (base projects for your apps).
JavaScript
Latest commit 389c413 Feb 3, 2017 @paulmillr paulmillr Release 1.0.1.
Permalink
Failed to load latest commit information.
lib Yarn (#22) Jan 13, 2017
.editorconfig Yarn (#22) Jan 13, 2017
.gitignore Yarn (#22) Jan 13, 2017
CHANGELOG.md Add printBanner Dec 6, 2015
README.md Yarn (#22) Jan 13, 2017
package.json Release 1.0.1. Feb 3, 2017

README.md

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)