# generator-bz-ng2-webpack

> Template to generate a basic project with the necessary structure of folders and code, angular2, typescript, webpack and less

Latest version **0.0.5** (published 2016-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-bz-ng2-webpack
pnpm add generator-bz-ng2-webpack
yarn add generator-bz-ng2-webpack
bun add generator-bz-ng2-webpack
```

## 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.0.5 |
| Published | 2016-08-08 |
| First published | 2016-07-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 6.2.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Ivan Ricardo |
| Maintainers | itaimal |
| Keywords | yeoman-generator, angular2, typescript, webpack, less |

## Links

- npm: https://www.npmjs.com/package/generator-bz-ng2-webpack
- Repository: https://github.com/itaimal/bz-ng2-webpack
- Issues: https://github.com/itaimal/bz-ng2-webpack/issues
- npm.io page: https://npm.io/package/generator-bz-ng2-webpack

## Dependencies (4)

- [yosay](https://npm.io/package/yosay.md) ^1.2.0
- [lodash](https://npm.io/package/lodash.md) ^4.13.1
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.23.4
- [generator-license](https://npm.io/package/generator-license.md) ^4.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2016-08-08
- 0.0.4 — 2016-08-03
- 0.0.3 — 2016-07-08
- 0.0.2 — 2016-07-08
- 0.0.1 — 2016-07-08

## README

# generator-bz-ng2-webpack 
Template to generate a basic project with the necessary structure of folders and code with angular 2 and webpack.

## Available templates:
1. Project template
2. Component template

## Designed for:
 @angular 2.0.0-rc.4

## Installing templates generator

### Prerequisites:

You need node.js tools to initialize tests and webpack compilation.
Make sure you have Node version >= 4.0 and NPM >= 3
You must have node.js and its package manager (npm) installed in your project (You can obtain it from node).

### Instalation:

Using a terminal, place yourself on the folder where the project will be hosted and then execute the following commands.

```bash
\anyfolder> npm install -g yo
\anyfolder> npm install -g generator-bz-ng2-webpack
```


Create projectFolder
```bash
\anyfolder> mkdir projectFolder
\anyfolder> cd projectFolder
```

### Using the template project 

Making use of a terminal, go to the folder where the template project will be hosted and then execute the following commands.

```bash
\projectFolder> yo bz-ng2-webpack
\projectFolder> cd WebContent
```

```bash
# change directory to our repo
cd {projectFolder}/WebContent

# Step 1: Add required global libraries
npm install typings webpack-dev-server rimraf webpack -g

# Step 2: Install the repo with npm
npm install

# Step 3: Start the server
npm start
```

Now that you have the template project installed, you are ready to browse on it http://localhost:3000



### Creating a component template

On the folder where the component template will be installed execute the following line :

```bash
\projectFolder\WebContent\app> yo bz-ng2-webpack:component
```


 [Ivan Taimal]

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