diff --git a/bin/clean-bower-installer b/bin/clean-bower-installer index 9c5357a..ee71bb9 100644 --- a/bin/clean-bower-installer +++ b/bin/clean-bower-installer @@ -197,7 +197,7 @@ function generateFileList() { if (filesTo.ignore[i].from === filesTo.move[j].from) { filesTo.move.splice(j, 1); - length2 --; + length2--; } } } @@ -494,7 +494,7 @@ var commands = { if (Object.keys(installed).length === 0) { endMessage = "The bower command \"install\" do not return any information.\n"; } else { - endMessage = JSON.stringify(installed)+ "\n"; + endMessage = JSON.stringify(installed) + "\n"; } } @@ -648,7 +648,7 @@ if (require.main === module) { }); // CLI input treatment - cli.main(function(args, options) { + cli.main(function (args, options) { if (options.verbose) { option.verbose = true; } diff --git a/package.json b/package.json index 18f3e5f..7bd4386 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clean-bower-installer", - "version": "0.0.6", + "version": "0.0.7", "description": "Tool to install pre-selected bower dependencies", "keywords": [ "bower", @@ -36,6 +36,5 @@ }, "engines": { "node": ">=0.10.0" - }, - "preferGlobal": true + } } diff --git a/test/test.js b/test/test.js index c0836d3..163cc80 100644 --- a/test/test.js +++ b/test/test.js @@ -628,6 +628,11 @@ var test = [ ); } // TODO add tests: "test the override of -V for the cli" + // TODO add tests: "test the ignore" + // TODO add tests: "test without default.folder" + // TODO add tests: "test with default.minFolder" + // TODO add tests: "test with option min" + // TODO add tests: "test with option min.ignoreExt" // TODO optimise the use of the folders for the tests ];