Bower consolidator
Takes a bunch of bower packages and finds their version from bower.json
or .bower.json
, then makes one big bower file with frozen versions.
Usage (packaged)
Windows
PowerShell ./bower-consolidator.exe [options]
Mac / Linux
./bower-consolidator [options]
Options
Usage: index [options] Options: -V, --version output the version number --cwd, --workingDir <workingDir> Current working directory . --e, --excludePaths [excludePaths] One or many paths you want to exclude, i.e. `-e "prefix-*"`. Can be applied multiple times: `-e "one" -e "two"`. --o, --outputFile <outputFile> The output file name . Defaults to `new.bower.json` --tf, --templateFile <templateFile> A JSON file you want to use as template. You *need* to supply a path to write in that file . --tp, --templatePath <templatePath> An object path, like `path.to.something` to insert packages at. Required
Getting started (unpacked)
Run with node
Install dependencies first
yarn
babel-node index.js [options]
Requires node v8
Run a demo
npm run demo # outputs consolidated packages to ./custom.bower.json
Developing
Start by installing all dependencies.
yarnnpm dev # continuous tests, watches files
Run tests once
npm test
Publish new build
npm run publish:windowsnpm run publish:all # node on win, darwin, linux