1.2.0 • Published 7 years ago

plop-templates-bc v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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

npm i --save-dev plop-templates-bc
touch plopfile.js

and paste (and adjust) following code:

'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
1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago