# plop-templates-bc

> Templates for the plop dedicated for the Angular 1.5 + TypeScript

Latest version **1.2.0** (published 2017-03-02) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install plop-templates-bc
pnpm add plop-templates-bc
yarn add plop-templates-bc
bun add plop-templates-bc
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2017-03-02 |
| First published | 2016-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Piotr Dabrowski @ PureDev |
| Maintainers | yhnavein |

## Links

- npm: https://www.npmjs.com/package/plop-templates-bc
- Repository: https://github.com/yhnavein/plop-templates-bc
- Homepage: https://github.com/yhnavein/plop-templates-bc#readme
- Issues: https://github.com/yhnavein/plop-templates-bc/issues
- npm.io page: https://npm.io/package/plop-templates-bc

## Dependencies (1)

- [fs-extra](https://npm.io/package/fs-extra.md) ^0.30.0

## Recent versions

- 1.2.0 (latest) — 2017-03-02
- 1.1.1 — 2017-01-16
- 1.1.0 — 2016-11-21
- 1.0.3 — 2016-07-13
- 1.0.2 — 2016-06-23
- 1.0.1 — 2016-06-23
- 1.0.0 — 2016-06-21

## README

# Custom Plop Templates

Dedicated for use with apps written in TypeScript using Angular 1.x + SASS

## Generators

### Reusable Component

Small component, which will be reusable in many places.
Generates: `html`, `scss`, `component typescript` and wiring to the existing app.

### Page Component

A new component with a routing configured.
Generates: `html`, `scss`, `controller`, *optional* `model`, `service`, `tests` and wiring to the existing app.


## How to use

```bash
npm i --save-dev plop-templates-bc
touch plopfile.js
```

and paste (and adjust) following code:

```JS
'use strict';

module.exports = require('plop-templates-bc', {
  moduleName: 'app',
  sharedComponentsDir: 'src/app/components/',
  componentsIndexFile: 'src/app/components/index.ts',
  mainComponentsDir: 'src/app/domain/',
  indexModuleFile: 'src/app/index.module.ts',
  routingConfFile: 'src/app/index.route.ts'
});

// default values provided

```

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