generator-prepare-git-repo
v0.5.0
Published
Yeoman generator for quick prepare github project structure
Downloads
3
Maintainers
Readme
generator-prepare-git-repo
Yeoman generator for quick start prepare template git project repository. Includes
npm
,travis
,coveralls
,dependencies
badges.
Supports 2 types of templates:
ES5
ES6
withBabel
transpiler.
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
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:
- generator-travis to getting and keeping
.travis.yml
up-to-date effortlessly - generator-babel
License
MIT © Aleksandr Filatov