generator-libco

0.1.2 • Public • Published

generator-libco Build Status

A generator for Yeoman intended to do tedious repetitive work instead of you while creating library projects (written in CoffeeScript).

Purpose

yo libco

This generator creates following folders:

  • modules
  • tests/data
  • tests/modules

It also creates following files:

  • modules/Log.coffee
  • tests/data/data.txt
  • .gitattributes
  • .gitignore
  • .travis.yml
  • README.md
  • package.json

Package.json is fully initialized including test NPM task which runs all tests with coverage report generation at the end.

yo libco:module MyEntity

This subgenerator creates following files:

  • modules/MyEntity.coffee
  • tests/modules/MyEntityTests.coffee

Getting Started

Install generator-libco using NPM

npm install generator-libco -g

Create folder for your project

mkdir mylib && cd $_

Run libco generator

yo libco

Once library skeleton is generated, start module (unit) creation

yo libco:module Entity

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i generator-libco

Weekly Downloads

0

Version

0.1.2

License

none

Last publish

Collaborators

  • titarenko