@antstudiocz/yeoman-generator

0.0.7 • Public • Published

generator-nette-component

create new nette component

required: node version 7.6+, npm

Component auto add to git with git add command.

Installation

First, install Yeoman and generator-nette-component using npm (assume you have pre-installed node.js).

npm install -g yo
npm install -g @antstudiocz/yeoman-generator

Then generate your new project:

yo nette-component [componentName]

note: component is auto capitalize

select path to save from: Project, FrontModule, AdminModule

Tests is auto generated too, don't forget to edit them too.

Options

script accept this options:

  • nogit = don't add generated file git - call eg. $ yo nette-component [componentName] --nogit

Update local global package

npm update -g generator-nette-component

How to develop this generator

Install package from local:

npm install -g yo
npm install full/path/to/project/yeoman-generator -g

Main file is generators/app/index.js

Readme

Keywords

Package Sidebar

Install

npm i @antstudiocz/yeoman-generator

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

10.6 kB

Total Files

9

Last publish

Collaborators

  • alesmraz
  • dbalik
  • sirpole