GithubHelp home page GithubHelp logo

garryyao / generator-troopjs Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 370 KB

Yeoman generator for TroopJS

Home Page: http://troopjs.com

License: MIT License

PHP 4.03% Perl 0.29% JavaScript 95.68%

generator-troopjs's Introduction

generator-troopjs Build Status

TroopJS application scaffolding generator for Yeoman.

Note: Due to the fact that TroopJS is still under rapid development, this generator is to support only the latest release of each module.

The following which are considered as the minimum amount of modules required for an web application, is required:

  • troopjs-core
  • troopjs-browser
  • troopjs-jquery

While if you're looking for more modules, simply search over bower registration for a list of them and install accordingly.

bower search troopjs-

Getting Started

What is Yeoman?

Trick question. It's not a thing. It's this guy:

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

$ npm install -g yo

Yeoman Generators

Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.

Usage

Install generator-troopjs:

npm install -g generator-troopjs

Make a new directory, and cd into it:

mkdir my-troopjs-app && cd $_

Run the scaffold generator with:

$ yo troopjs:app

Run the troop widget generator using sub generator:

$ yo troopjs:widget [widget name]

Getting To Know Yeoman

Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

License

MIT License

generator-troopjs's People

Contributors

garryyao avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

yaoazhen

generator-troopjs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.