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 - npm Package Compare versions

Comparing version 0.0.4-beta.1 to 0.1.0

bootstrap-less/all/templates/.editorconfig

24

bootstrap-less/all/index.js

@@ -21,6 +21,6 @@

/**
* Install frontend components via yeoman/bower
* Install packages via npm
*/
Generator.prototype.installComponents = function installComponents() {
Generator.prototype.installPackages = function installPackages() {
var spawn = require('child_process').spawn

@@ -32,6 +32,5 @@ , child

console.log('Finished generating bootstrap-less scaffold.');
console.log('Installing latest jQuery, Bootstrap, Backbone, Require.js, and require-jade...');
console.log('Installing grunt-recess...');
child = spawn('yeoman', ['install', 'jquery', 'bootstrap', 'backbone', 'requirejs', 'require-jade', '--save']);
child = spawn('npm', ['install', 'grunt-recess', '--save-dev']);

@@ -48,3 +47,3 @@ child.stdout.setEncoding('utf8');

child.on('exit', function(code) {
console.log('Latest components successfully installed.');
console.log('grunt-recess successfully installed.');
cb();

@@ -56,6 +55,6 @@ });

/**
* Install packages via npm
* Install frontend components via yeoman/bower
*/
Generator.prototype.installPackages = function installPackages() {
Generator.prototype.installComponents = function installComponents() {
var spawn = require('child_process').spawn

@@ -67,5 +66,6 @@ , child

console.log('Installing grunt-recess...');
console.log('Finished generating bootstrap-less scaffold.');
console.log('Installing latest jQuery, Bootstrap, Backbone, Require.js, and require-jade...');
child = spawn('npm', ['install', 'grunt-recess', '--save-dev']);
child = spawn('yeoman', ['install', 'jquery', 'bootstrap', 'backbone', 'requirejs', 'require-jade', '--save']);

@@ -78,7 +78,7 @@ child.stdout.setEncoding('utf8');

child.stderr.on('data', function(data) {
console.log('stderr:', data);
console.log('Error:', data.toString());
});
child.on('exit', function(code) {
console.log('grunt-recess successfully installed.');
console.log('Latest components successfully installed.');
cb();

@@ -85,0 +85,0 @@ });

{
"name": "yeoman-bootstrap",
"preferGlobal": true,
"version": "0.0.4-beta.1",
"description": "Yeoman generator for Twitter Bootstrap based projects",
"version": "0.1.0",
"description": "Yeoman generator for Twitter Bootstrap LESS based projects",
"homepage": "https://github.com/vincentmac/yeoman-bootstrap",

@@ -35,2 +35,2 @@ "author": {

"readmeFilename": "README.md"
}
}

@@ -6,8 +6,2 @@ yeoman-bootstrap

## Requirements
You will need the `zurb-foundation` compass gem installed. Visit the [foundation documentation](http://foundation.zurb.com/docs/compass.php) 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

@@ -29,10 +23,18 @@

to generate the basic scaffolding for a bootstrap-less based project.
to generate the basic scaffolding for a bootstrap based project.
This generator provides a scaffold that uses require.js to load javascript modules. After generating the project scaffolding a [node child_process](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) will run to install jQuery, Backbone, and Require.js along with any dependencies. This child process is running
`yeoman install jquery backbone requirejs --save`
`yeoman install jquery backbone requirejs require-jade --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.
`bower install jquery backbone requirejs require-jade --save`
to add them.
## Uninstall
You can uninstall this generator via npm:
`[sudo] npm uninstall -g yeoman-bootstrap`
This will remove the symlink in your global yeoman generators directory and then proceed to delete the package.

@@ -37,3 +37,3 @@ // Copyright (c) 2013 Vincent Mac <vincent@vincentmac.com>

if (bootstrapExists) {
console.log('bootstrap-less found. Proceed with unlink...');
console.log('yeoman-bootstrap found. Proceed with unlink...');
unlinkPrevious();

@@ -40,0 +40,0 @@ }

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