npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-angular-meteor

v0.21.0

Published

Yeoman generator for creating AngularJS + Meteor applications

Downloads

13

Readme

Meteor + AngularJS generator Build Status

Yeoman generator for creating Meteor + AngularJS applications - hit the ground running.
Based on angular meteor tutorial, which is well worth spending a few of hours on

Usage

Install generator-angular-meteor:

npm install -g generator-angular-meteor

Run yo angular-meteor appName

yo angular-meteor appName

cd into the new directory to run meteor commands or to create subcomponents

Prerequisites

  • Meteor
    • windows - Download and Install Meteor
    • linux/mac - curl https://install.meteor.com/ | sh

Supported Configurations

  • Scripts: JavaScript, CoffeeScript
  • Markup: HTML, Jade
  • Stylesheets: CSS, Stylus, Less, SCSS
  • CSS frameworks: None, Bootstrap, Angular Material, Ionic
  • Authentication boilerplate: Yes, No
  • oAuth integrations: Facebook Twitter Google
  • Pagination, sorting and searching support: Yes, No
  • Bower package management support: Yes, No

Generators

Available generators:

- [angular-meteor](#app) (aka [angular-meteor:app](#app))
- [angular-meteor:model](#model)
- [angular-meteor:method](#method)
- [angular-meteor:route](#route)
- [angular-meteor:controller](#controller)
- [angular-meteor:view](#view)
- [angular-meteor:filter](#filter)
- [angular-meteor:directive](#directive)
- [angular-meteor:factory](#service)
- [angular-meteor:decorator](#decorator)

App

Sets up a new AngularJS + Meteor app, generating all the boilerplate you need to get started.

Example:

yo angular-meteor myApp

Model

Generates a new database collection.

Example:

yo angular-meteor:model products
[?] Is this a protected model? Yes

Produces:

model/products.model.coffee
server/products.publish.coffee
server/startup/products.load.coffee

Method

Generates a new meteor method.

Example:

yo angular-meteor:method invite

Produces:

methods/invite.method.coffee

Route

Generates a new route with optional model and list/detail routes

Example:

yo angular-meteor:route products
[?] Where would you like to create this route? client/
[?] Is this a protected route? No
[?] Would you like to make List/Details routes? Yes
[?] Would you like to create a Model? Yes

Produces:

client/products/products.routes.ng.coffee
client/products/products-list.controller.ng.coffee
client/products/products-list.view.ng.jade
client/products/product-detail.controller.ng.coffee
client/products/product-detail.view.ng.jade
client/products/products.styl
model/products.model.coffee
server/products.publish.coffee
server/startup/products.load.coffee

Controller

Generates a controller.

Example:

yo angular-meteor:controller user
[?] Where would you like to create this controller? client/

Produces:

client/user/user.controller.ng.coffee

Directive

Generates a directive.

Example:

yo angular-meteor:directive myDirective
[?] Where would you like to create this directive? client/components/
[?] Does this directive need an external html file? Yes

Produces:

client/components/my-directive/my-directive.directive.ng.coffee
client/components/my-directive/my-directive.ng.jade
client/components/my-directive/my-directive.styl

Filter

Generates a filter.

Example:

yo angular-meteor:filter myFilter
[?] Where would you like to create this filter? client/components/

Produces:

client/components/my-filter/my-filter.filter.ng.coffee

Decorator

Generates an AngularJS service decorator.

Example:

yo angular-fullstack:decorator serviceName
[?] Where would you like to create this decorator? client/components/

Produces

client/components/service-name/service-name.decorator.ng.coffee

Meteor Components

The following packages are always installed by the app generator:

  • angular-meteor
  • ui.router

These packages are installed optionally depending on your configuration:

  • angular-material
  • bootstrap
  • angular-ui-bootstrap
  • publish-counts
  • pagination
  • fourseven:scss
  • flemay:less-autoprefixer
  • mquandalle:stylus
  • coffeescript
  • civilframe:angular-jade

Configuration

Yeoman generated projects can be further tweaked according to your needs by modifying project files appropriately.

A .yo-rc file is generated for helping you copy configuration across projects, and to allow you to keep track of your settings. You can change this as you see fit.

Testing

Still needs doing, let me know if you think you can help

Contributing

Please see CONTRIBUTING.md

License

BSD license

heavily inspired by generator-angular-fullstack