Permalink
Browse files

Merge https://github.com/slang800/roots into slang800

  • Loading branch information...
2 parents d02c83d + 0938ead commit 027a319e1c748360a6a769806128b18c8045865b Jeff Escalante committed Feb 28, 2013
Showing with 3 additions and 4 deletions.
  1. +2 −3 lib/commands/js.js
  2. +1 −1 readme.md
View
@@ -3,12 +3,11 @@ var bower = require('bower'),
shell = require('shelljs');
var _js = function(command){
-
- bower.config.directory = "assets/js/components";
+ bower.config.directory = "assets/components";
// if installing, make the components directory first
if (command.toString().match('install')) {
- shell.mkdir('-p', path.join(process.cwd(), 'assets/js/components'));
+ shell.mkdir('-p', path.join(process.cwd(), 'assets/components'));
}
bower.commands[command[0] || 'help'].line(['node', __dirname].concat(command))
View
@@ -54,7 +54,7 @@ Roots ships with an awesome feature-rich css library built on top of stylus. Thi
Client Side JS
--------------
-Using javascript libraries on the client-side is super helpful, but downloading them for every project and keeping them up to date is a huge pain. Luckily, the wonderful developers at twitter created [bower](http://twitter.github.com/bower/) for this exact purpose. You can run `roots install` followed by any package name to have bower install it directly into the `js/components` folder of your roots project. Also available:
+Using javascript libraries on the client-side is super helpful, but downloading them for every project and keeping them up to date is a huge pain. Luckily, the wonderful developers at twitter created [bower](http://twitter.github.com/bower/) for this exact purpose. You can run `roots install` followed by any package name to have bower install it directly into the `assets/components` folder of your roots project. Also available:
`roots js list` - list of installed packages
`roots js search name` - search for a package by `name`

0 comments on commit 027a319

Please sign in to comment.