Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/loreina/base

Webpack 4 starter (babel, eslint, sass, postcss)
https://github.com/loreina/base

babel eslint html javascript nodejs postcss scss webpack

Last synced: 14 days ago
JSON representation

Webpack 4 starter (babel, eslint, sass, postcss)

Awesome Lists containing this project

README

        

# :package: base

A Webpack 4 static starter stack for web development.

## Installation

1. `git clone https://github.com/loreina/base.git`
2. `rm -rf .git` to remove this repo
3. `git init` to init your own repo
4. `yarn install`

## Usage

**Development**

`yarn dev`
- Build app (HMR enabled)
- Served at `localhost:7000`

**Production**

`yarn build`
- Build app (HMR disabled)
- Build `src/` files to `dist/` folder

**Startup**

`yarn start`
- Build app and files (HMR disabled)
- Served at `localhost:9000`

**All Commands**

Command | Description
--- | ---
`yarn build` | Build app (HMR disabled) and build `src/` files to `dist/` folder
`yarn dev` | Build app (HMR enabled) and serve at `localhost:7000`
`yarn start` | Build app and files (HMR disabled) and serve at `localhost:9000`
`yarn test` | Run JS and SCSS linting