New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-boilerplate-generator

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-boilerplate-generator

Generate a Yeoman generator based off a boilerplate repository

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by80%
Maintainers
1
Weekly downloads
 
Created
Source

generator-boilerplate-generator

Build Status Dependency Status devDependency Status

Generate a Yeoman generator based off a boilerplate repository

Maintainer: Ari Porad

Yo dawg, I heard you like generators?

Getting started

  • Install: npm install -g generator-boilerplate-generator
  • Run: yo boilerplate-generator

The principal behind this is that when making a complex generator that generates a whole application, it's preferable to have the boilerplate in a sepeate repository, and have the generator download it whenever it's needed.

So, run this generator with yo boilerplate-generator, give it your GitHub username and the boilerplate repo, and it will generate a generator which when run will download the repo, and customize it.

By default, then generator will replace every instance of {{# name #}} with the name of that the user has chosen for their generated app, it will also replace {{# slug #}} with the slug of the name that the user has chosen for their generated app. The package.json will also be updated (new name, URLs, author, v1.0.0).

Of course, you can edit also the generated generator, to add more options or do whatever.

Contributing

PR's are welcome, please make sure you update the tests, and make sure it passes JSHint.

License

MIT. © Ari Porad github@ariporad.com.

Keywords

FAQs

Package last updated on 05 Aug 2015

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