Comparing version 0.5.4 to 0.5.5
@@ -8,5 +8,6 @@ 'use strict'; | ||
'c': 'create', | ||
'e': 'env', | ||
'i': 'install', | ||
'v': 'version', | ||
's': 'seed' | ||
's': 'seed', | ||
'v': 'version' | ||
}; |
@@ -8,5 +8,6 @@ 'use strict'; | ||
'create', | ||
'env', | ||
'install', | ||
'version', | ||
'seed' | ||
'seed', | ||
'version' | ||
]; |
@@ -17,14 +17,5 @@ 'use strict'; | ||
var copyFiles = require('./utility/copyFiles'); | ||
var dasherize = require('./utility/dasherize'); | ||
/** | ||
* Helper to dasherize module names | ||
*/ | ||
function dasherize(name) { | ||
return name.replace(/(\s*\-*\b\w|[A-Z]|_[a-z])/g, function($1) { | ||
$1 = $1.replace('_', '-').trim().toLowerCase(); | ||
return ($1[0] === '-' ? '' : '-') + $1; | ||
}).slice(1); | ||
} | ||
/** | ||
* Helper to check if destination directory is empty | ||
@@ -31,0 +22,0 @@ */ |
@@ -12,3 +12,3 @@ 'use strict'; | ||
*/ | ||
module.exports = function(sourceDir, destinationDir, cb) { | ||
module.exports = function copyFiles(sourceDir, destinationDir, cb) { | ||
cb = cb || function() {}; | ||
@@ -15,0 +15,0 @@ |
{ | ||
"name": "meanie", | ||
"description": "Meanie is a boilerplate for developing, testing and building full-stack modular javascript applications using MEAN (MongoDB, Express, AngularJS and Node.js). Meanie is powered by the Gulp task runner.", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"homepage": "https://github.com/meanie/#readme", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -40,2 +40,11 @@ # Meanie | ||
### 4. Advanced features | ||
```shell | ||
//Create a local environment file | ||
meanie env | ||
//Create a new named environment | ||
meanie env pre-prod | ||
``` | ||
## Gulp tasks | ||
@@ -42,0 +51,0 @@ Meanie comes with fully configured [Gulp](http://gulpjs.com/) tasks for all common development and build tasks. |
40621
19
1055
174
9