# generator-na-webpack

> Simple webpack boilerplate for es6 front-end projects

Latest version **0.1.2** (published 2017-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-na-webpack
pnpm add generator-na-webpack
yarn add generator-na-webpack
bun add generator-na-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.1.2 |
| Published | 2017-07-16 |
| First published | 2017-06-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Navarjun |
| Maintainers | navarjun |
| Keywords | webpack, es6, css, boilerplate, navarjun, yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/generator-na-webpack
- Repository: https://github.com/navarjun/generator-na-webpack
- Homepage: http://navarjun/na-webpack
- Issues: https://github.com/navarjun/generator-na-webpack/issues
- npm.io page: https://npm.io/package/generator-na-webpack

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [yosay](https://npm.io/package/yosay.md) ^2.0.0
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^1.0.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2017-07-16
- 0.1.1 — 2017-07-16
- 0.1.0 — 2017-06-24

## README

# generator-na-webpack [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> Simple webpack boilerplate for es6 front-end projects

## Installation

First, install [Yeoman](http://yeoman.io) and generator-na-webpack using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
$ npm install -g yo
$ npm install -g generator-na-webpack
```

Then generate your new project:

```
$ yo na-webpack
```

## About the generated project

- The directory structure of generated project would be:
```
├── dist/
│   └── index.html
├── src/
│   └── index.js
│   └── styles/
│       └── index.css
├── .gitignore
├── .eslintrc.json
├── package.json
├── package-lock.json
├── server.js
└── webpack.config.js
```
- `dist` folder contains html files, you can add more of them. _( and when you build the project, the transpiled js files would be here)_ *This folder can be directly published to github-pages after building*
- `src` folder contains the css and js files which you would develop with

## Steps to use the generated project
1. run `npm install` ── it would install all dependencies
2. For development run `npm run dev` ── you can start coding now and go to the url `http://localhost:9000` in your browser
3. To build the project run `npm run build` ── this would output all the js and css files into assets folder

Enjoy!

## License

MIT © [Navarjun](http://navarjun.com)


[npm-image]: https://badge.fury.io/js/generator-na-webpack.svg
[npm-url]: https://npmjs.org/package/generator-na-webpack
[travis-image]: https://travis-ci.org/Navarjun/generator-na-webpack.svg?branch=master
[travis-url]: https://travis-ci.org/Navarjun/generator-na-webpack
[daviddm-image]: https://david-dm.org/Navarjun/generator-na-webpack.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/Navarjun/generator-na-webpack

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