# bower-consolidator

> Takes a bunch of bower packages and makes one big bower file with frozen versions.

Latest version **1.0.0** (published 2017-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install bower-consolidator
pnpm add bower-consolidator
yarn add bower-consolidator
bun add bower-consolidator
```

Provides the command `bower-consolidator`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-09-14 |
| First published | 2017-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 17 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Dan Mindru |
| Maintainers | mindrudan |
| Keywords | bower, consolidator |

## Links

- npm: https://www.npmjs.com/package/bower-consolidator
- Repository: https://github.com/danmindru/bower-consolidator
- Homepage: https://github.com/danmindru/bower-consolidator#readme
- Issues: https://github.com/danmindru/bower-consolidator/issues
- npm.io page: https://npm.io/package/bower-consolidator

## Dependencies (17)

- [babel](https://npm.io/package/babel.md) ^6.23.0
- [globby](https://npm.io/package/globby.md) ^6.1.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [babel-cli](https://npm.io/package/babel-cli.md) ^6.26.0
- [commander](https://npm.io/package/commander.md) ^2.11.0
- [json-format](https://npm.io/package/json-format.md) ^1.0.1
- [is-valid-json](https://npm.io/package/is-valid-json.md) ^1.0.2
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0
- [sort-object-keys](https://npm.io/package/sort-object-keys.md) ^1.1.2
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.24.1
- [babel-preset-es2016](https://npm.io/package/babel-preset-es2016.md) ^6.24.1
- [babel-preset-es2017](https://npm.io/package/babel-preset-es2017.md) ^6.24.1
- [fs-readfile-promise](https://npm.io/package/fs-readfile-promise.md) ^3.0.0
- [fs-writefile-promise](https://npm.io/package/fs-writefile-promise.md) ^2.0.0
- [babel-plugin-transform-runtime](https://npm.io/package/babel-plugin-transform-runtime.md) ^6.23.0
- [babel-plugin-transform-export-extensions](https://npm.io/package/babel-plugin-transform-export-extensions.md) ^6.22.0
- [babel-plugin-transform-object-rest-spread](https://npm.io/package/babel-plugin-transform-object-rest-spread.md) ^6.26.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-09-14

## README

# 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
```bash
PowerShell ./bower-consolidator.exe [options]
```
### Mac / Linux
```bash
./bower-consolidator [options]
```

## Options
```bash
Usage: index [options]

Options:

  -V, --version                        output the version number
  --cwd, --workingDir <workingDir>     Current working directory (where your many
                                       bower packages are).
  --e, --excludePaths [excludePaths]   One or many paths (or globs) you want to 
                                       exclude, i.e. `-e "prefix-*"`. Can be 
                                       applied multiple times: `-e "one" -e "two"`.
  --o, --outputFile <outputFile>       The output file name (in your cwd).
                                       Defaults to `new.bower.json`
  --tf, --templateFile <templateFile>  (optional) A JSON file you want to use as 
                                       template. You *need* to supply a path to 
                                       write in that file (see --templatePathtp).
  --tp, --templatePath <templatePath>  (optional) An object path, like 
                                       `path.to.something` to insert packages at. 
                                       Required if template file provided 
                                       (see --templateFile).
  -h, --help                           output usage information
```
-----------------------------------------

## Getting started (unpacked)

### Run with node
Install dependencies first
```bash
yarn
```

```bash
babel-node index.js [options]
```

> Requires node v8

#### Run a demo
```bash
npm run demo # outputs consolidated packages to ./custom.bower.json
```

## Developing
Start by installing all dependencies.
```bash
yarn
npm dev # continuous tests, watches files
```

### Run tests once
```bash
npm test
```

### Publish new build
```bash
npm run publish:windows
npm run publish:all # node on win, darwin, linux
```

---
_Source: https://npm.io/package/bower-consolidator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
