Socket
Socket
Sign inDemoInstall

generator-meteor

Package Overview
Dependencies
5
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-meteor

A Meteor app generator for Yeoman


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
72.6 MB
Created
Weekly downloads
 

Readme

Source

generator-meteor Build Status

A Meteor project generator for Yeoman. *Updated for Meteor 1.0!

NPM

Prerequisites

To install yeoman from npm, run:

$ npm install -g yo

Install

To install generator-meteor from npm, run:

$ npm install -g generator-meteor

Create a new project directory:

$ mkdir your-new-project && cd $_

Initiate the generator:

$ yo meteor

Finally, run Meteor:

$ meteor

NEW View and Collection Generators

Generator-Meteor now supports primitive scaffolding using Yeoman sub-generators

To generate a new Meteor Collection, try using:

$ yo meteor:collection yourCollectionName

To generate a new Meteor Template view/events/helper, try this one out:

$ yo meteor:view viewName

These generators will be extended over time and I hope you make good use of them!

Structure Generated with Iron-Router Enabled

/
    .meteor/
        .gitignore
        packages
        release
    client/
        compatibility/
        lib/
            subscriptions.js
        styles/
            theme.css
        views/
            common/
            home.html
            home.js
            layout.html
        routes.js
    lib/
        collections.js
    private/
    public/
        fonts/
        images/
        robots.txt
    server/
        publications.js
        security.js
        server.js
    .gitignore <- contains sensible defaults for files/folders to ignore
    LICENSE <- default empty license file
    smart.json <- meteorite package definition

License

MIT License

Keywords

FAQs

Last updated on 18 Apr 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc