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
- Host: GitHub
- URL: https://github.com/ciao-chung/base-nodejs-webpack-app
- Owner: ciao-chung
- Created: 2018-05-05T16:41:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-23T14:35:18.000Z (over 7 years ago)
- Last Synced: 2025-10-27T22:27:34.648Z (8 months ago)
- Topics: nodejs, webpack
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```