Nutella with Pepperoni and Mushrooms
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

init-skeleton

1.0.1 • Public • Published

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)

install

npm i init-skeleton

Downloadsweekly downloads

22,630

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability