# bower-file-generator

> generate bower file according to the existing bower_components file

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

## Install

```sh
npm install bower-file-generator
pnpm add bower-file-generator
yarn add bower-file-generator
bun add bower-file-generator
```

Provides the command `bowerfg`.

## 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-13 |
| First published | 2017-09-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | springjphoenix@gmail.com |
| Maintainers | springjphoenix |
| Keywords | bower, file, generator |

## Links

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

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^2.1.0
- [commander](https://npm.io/package/commander.md) ^2.11.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-09-13

## README

## A little background
Recently I've been woring on a project which generated using the awesome jHipster tool. However, the guy who generated it remove all of the package.json, bower.json, gulpfile.js etc. but the bower\_components folder. So, not suprisingly, I searched the internet for such a tool that can generate the bower.json file according to the files in bower\_components. And surprisingly, I found nothing. Eventually, I decide to write my own tool for this situation.

```
  Usage: bowerfg [options] <targetDir>

  Options:

    -f, --file [file]  the file name generated. Defaut to bower.json
    -p, --path [path]  the path of the generated file. Defaut to the current woring directory
    -h, --help         output usage information

```

## Screenshots

![screenshot](screenshots/Screen_Shot_1.jpg?raw=true "screenshot")

![screenshot](screenshots/Screen_Shot_2.jpg?raw=true "screenshot")

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