An open API service indexing awesome lists of open source software.

https://github.com/ciao-chung/base-nodejs-webpack-app


https://github.com/ciao-chung/base-nodejs-webpack-app

nodejs webpack

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Base Node.js Webpack App

> This is a base node.js webpack app

**ES6/ES7 supported**

## Script

**Start bundled app only**
```bash
npm run start
```

**Build app**
```bash
npm run build
```

**Build and run app**
```bash
npm run dev
```

**Production mode**
> This script will build app and copy bundled app to prod folder

```bash
npm run prod
```

**Clean up prod folder**

```bash
npm run prod:clean
```

**Run mocha unit test**
```bash
npm run unit
```

**Run mocha unit test with specify file or path**
```bash
npm run unit:single test/unit/specs/Example.spec.js
```