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

yeoman-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yeoman-bootstrap

Yeoman generator for Twitter Bootstrap based projects

  • 0.0.4-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

yeoman-bootstrap

This is a yeoman generator that scaffolds out a project using Twitter Bootstrap by default, expanding on yeoman's quickstart generator. This generator will install Twitter Bootstrap, jQuery, Backbone.js, Underscore.js, and Require.js.

Requirements

You will need the zurb-foundation compass gem installed. Visit the foundation documentation for detailed directions on installation. If you already have your ruby environment setup, all you need to do for installation is:

[sudo] gem install zurb-foundation

Installation

You can install this generator globally via npm:

[sudo] npm install -g yeoman-bootstrap

I have only tested this on Mac OS X, but it should work in Windows and other *nix environments. During a global npm install, the generator will get installed in your global node_modules directory, while a symlink to the foundation generator will be created in your global yeoman generators directory:

/usr/local/lib/node_modules/yeoman/node_modules/yeoman-generators/lib/generators/bootstrap-less/

Usage

After copying to your global generator location, use:

yeoman init bootstrap-less

to generate the basic scaffolding for a bootstrap-less based project.

This generator provides a scaffold that uses require.js to load javascript modules. After generating the project scaffolding a node child_process will run to install jQuery, Backbone, and Require.js along with any dependencies. This child process is running yeoman install jquery backbone requirejs --save so you don't have to after.

Note: There is a bug in Yeoman 0.9.6 that is preventing the --save argument from adding files to component.json. If you would like your components saved in there, run: bower install jquery backbone requirejs --save to add them.

Keywords

FAQs

Package last updated on 09 Feb 2013

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