# cf-package

> Cloverfield Package Scaffold

Latest version **1.0.2** (published 2015-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install cf-package
pnpm add cf-package
yarn add cf-package
bun add cf-package
```

Provides the command `cf-package`.

## 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.2 |
| Published | 2015-09-21 |
| First published | 2015-08-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 97 |
| Author | Nik Butenko |
| Maintainers | ericelliott |
| Keywords | cloverfield, scaffold, cloverfield-scaffold, package |

## Links

- npm: https://www.npmjs.com/package/cf-package
- Repository: https://github.com/cloverfield-tools/cf-package
- Issues: https://github.com/cloverfield-tools/cf-package/issues
- npm.io page: https://npm.io/package/cf-package

## Dependencies (7)

- [glob](https://npm.io/package/glob.md) ^5.0.14
- [babel](https://npm.io/package/babel.md) ^5.8.23
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [nomnom](https://npm.io/package/nomnom.md) ^1.8.1
- [prompt](https://npm.io/package/prompt.md) ^0.2.14
- [cli-color](https://npm.io/package/cli-color.md) ^1.0.0
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.0

## Recent versions

- 1.0.2 (latest) — 2015-09-21
- 1.0.1 — 2015-09-21
- 1.0.0 — 2015-09-19
- 0.1.2 — 2015-09-04
- 0.1.1 — 2015-09-02
- 0.1.0 — 2015-08-18

## README

# cf-package [![Circle CI](https://circleci.com/gh/cloverfield-tools/cf-package/tree/master.svg?style=svg)](https://circleci.com/gh/cloverfield-tools/cf-package/tree/master)

Cloverfield Package Scaffold

## What does this do?

It scaffolds a new module with the following features:

* ES6 with Babel
* Lint with ESLint
* Tape tests with coverage report
* Dependency security audits with nsp
* Ensure dependencies are properly declared in package.json
* Git precommit hook enforces quality checks on commit
* CI config (Travis, CircleCI)


## Getting Started

```sh
npm install -g cf-package
mkdir project
cd project
cf-package
npm install
npm test
```

### Input via propmt:

```sh
cf-package
> Your name: My Name
> Your email (will be publicly available, optional): my@email 
> Your GitHub public username: mygithub
> Package name: test
> Package description: Test Package
```

Variable            | Prompt
------------------- | ---
user.name           | > Your name:
user.email          | > Your email (will be publicly available, optional):
user.github         | > Your GitHub public username:
package.name        | > Package name:
package.description | > Package description:

### Quick input

Alternatively it is possible to input every generator variable as CLI option:

```sh
cf-package --user.name="My Name" \
  --user.email=my@email \
  --user.github=mygithub \
  --package.name=test \
  --package.description="Test Package"
```

Explore and enjoy!  Part of the [Cloverfield project](https://github.com/cloverfield-tools/cloverfield).

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