# generator-cnn-base

> CNN Base Package Generator

Latest version **0.7.0** (published 2016-11-23) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install generator-cnn-base
pnpm add generator-cnn-base
yarn add generator-cnn-base
bun add generator-cnn-base
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0 |
| Published | 2016-11-23 |
| First published | 2016-02-14 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.9.1 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | cnnlabs, jamsyoung |
| Keywords | cnn, cnnlabs, yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/generator-cnn-base
- Repository: https://github.com/cnnlabs/generator-cnn-base
- Homepage: https://github.com/cnnlabs/generator-cnn-base#readme
- Issues: https://github.com/cnnlabs/generator-cnn-base/issues
- npm.io page: https://npm.io/package/generator-cnn-base

## Dependencies (1)

- [yeoman-generator](https://npm.io/package/yeoman-generator.md) 0.21.2

## Recent versions

- 0.7.0 (latest) — 2016-11-23
- 0.6.0 — 2016-11-17
- 0.5.0 — 2016-11-17
- 0.4.0 — 2016-11-16
- 0.3.0 — 2016-02-23
- 0.2.0 — 2016-02-19
- 0.1.8 — 2016-02-17
- 0.1.7 — 2016-02-14
- 0.1.6 — 2016-02-14
- 0.1.5 — 2016-02-14
- 0.1.4 — 2016-02-14
- 0.1.3 — 2016-02-14
- 0.1.2 — 2016-02-14
- 0.1.1 — 2016-02-14
- 0.1.0 — 2016-02-14

## README

# CNN Base Package Generator

## Requirements

A current LTS or Stable version of [Node.js](https://nodejs.org).  We recommend
using [nvm](https://github.com/creationix/nvm#readme) to manage node versions.

A utility for installing [Yeoman](http://yeoman.io/) packages.  `yo` should work
but it is recommended you use the `cnn` CLI available from
[CNN Package Generator](https://github.com/cnnlabs/cnn-package-generator#readme).


## Install

`cnn-package-generator` installs the `cnn` cli tool used to run the Yeoman
generator.

```shell
$ npm install --global cnn-package-generator
$ npm install --global generator-cnn-base
```


## Usage

With `cnn` (**recommended**):
- `$ cnn cnn-base`

- See the [README](https://github.com/cnnlabs/cnn-package-generator#readme) in
  the CNN Package Generator repo for more details.

With `yo` (** NOT** recommended):
- `$ yo cnn-base`


## Options

- `--extend`:
Extend cnn-base by another generator.  This option is used internally by
`cnn` and can be passed in as an argument to `yo`.

Example:
```shell
$ yo cnn-base --extend cnn-generator
Extending cnn-base with cnn-generator
```


## What does this do?

- Generates a default file structure for the chosen generator.

- Generates configuration files with predefined settings based on our
  current standards.  This includes settings for the following packages.

  - [Editorconfig](http://editorconfig.org/)
  - [ESDoc](https://esdoc.org/)
  - [ESLint](http://eslint.org/)
  - [npm](https://www.npmjs.com/)
  - [nvm](https://github.com/creationix/nvm)

- Generates our standardized process documents.

  - AUTHORS.md
  - CHANGELOG.md

- Creates a local GIT repository for the project.  Currently the remote
  repository on GitHub will need to be manually created.

- Generates a default package.json with all of the required properties and
  dependencies needed for the chosen generator.  Includes the following default
  scripts.

  - `generate-authors` - Uses a bash script to generate the AUTHORS.md file,
    which is used by npmjs.org when your package is published.

  - `generate-changelog` - Uses [changelog-maker](https://github.com/rvagg/changelog-maker)
    to generate the CHANGELOG.md.

  - `generate-coverage` - Uses [Istanbul](https://github.com/gotwarlost/istanbul)
    along with [Mocha](https://mochajs.org/) and [Chai](http://chaijs.com/) to
    create a code coverage report.  Also opens it up on OS X in a browser.

  - `generate-docs` - Uses [ESDoc](https://esdoc.org/) to generate documentation
    in `/docs`.

  - `test` - Uses [ESLint](http://eslint.org/) to validate all .js files and
    uses [jsonlint](https://github.com/zaach/jsonlint) to validates all .json
    files.

  - `update-apply` - Uses [ncu](https://github.com/tjunnone/npm-check-updates)
    and updates all dependencies.

  - `update-check` - Uses [ncu](https://github.com/tjunnone/npm-check-updates)
    and lists all updates, but does not apply them.

- Calls `npm-init` to further customize the package.json file.




![node](https://img.shields.io/node/v/generator-cnn-base.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/generator-cnn-base.svg?style=flat-square)](https://www.npmjs.com/package/generator-cnn-base)
[![npm-downloads](https://img.shields.io/npm/dm/generator-cnn-base.svg?style=flat-square)](https://www.npmjs.com/package/generator-cnn-base)
[![dependency-status](https://gemnasium.com/cnnlabs/generator-cnn-base.svg)](https://gemnasium.com/cnnlabs/generator-cnn-base)

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