generator-prepare-git-repo

0.5.0 • Public • Published

generator-prepare-git-repo

NPM version Build Status Dependency Status DevDependency Status

Yeoman generator for quick start prepare template git project repository. Includes npm, travis, coveralls, dependencies badges.

Supports 2 types of templates:

  • ES5
  • ES6 with Babel transpiler.

mem

Install

npm install -g yo generator-prepare-git-repo

Usage

# create folder for your project
mkdir demo
cd demo
 
# run generator
yo prepare-git-repo

sample

Generated project tree

root
 | node_modules
 |  | ...
 | test
 |  | test.js
 | index.js
 | .babelrc     // only for ES6
 | .gitignore
 | .npmignore
 | .travis.yml
 | package.json
 | README.md

yo prepare-git-repo will install follow dependencies from template package.json:

"devDependencies"{
    "babel-cli": "*",           // only for ES6
    "babel-core": "*",          // only for ES6
    "babel-preset-es2015": "*", // only for ES6
    "coveralls": "*",
    "istanbul": "*",
    "mocha": "*",
    "mocha-lcov-reporter": "*",
    "should": "*",
    "isparta": "*",
    "npm-run-all": "*",
    "rimraf": "*"
  }

Composed with another generators:

License

MIT © Aleksandr Filatov

Package Sidebar

Install

npm i generator-prepare-git-repo

Weekly Downloads

1

Version

0.5.0

License

MIT

Last publish

Collaborators

  • greybax