Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-ms-npm

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-ms-npm

Yeoman generator

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

generator-ms-npm

Yeoman generator

Getting Started

What is Yeoman?

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

Install yeoman:

npm install -g yo

Yeoman Generators

Yeoman travels light. He didn't doesn't come with any generators. A generator is 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.

To install generator-ms-npm from npm, run:

npm install -g generator-ms-npm

Finally, initiate the generator:

yo ms-npm <appname>

Full NPM workflow

Assuming we wish to create a module called my-module

  • Create a github repo called my-module under the mediasuitenz organisation, on the travis ci site, add the repo
  • Run the following:
yo ms-npm my-module
  • Answer the questions (mostly accept the defaults where applicable)
  • Run the following:
cd my-module
git add .
git commit -m "Initial commit"
git push origin master #the git remote has already been added by yeoman
  • fire up testem
npm run test:dev 
  • Add your module code to index.js and your tests to the /test folder (as .spec.js files)
  • Commit your changes
  • Version your code (starts at 0.0.0)
npm version patch -m "added some code"
  • push your code
git push origin master
git push origin --tags
  • Publish your module
npm publish

License

MIT

Keywords

FAQs

Package last updated on 29 Aug 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc