Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/loreina/base
- Owner: loreina
- Created: 2018-06-05T04:39:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T14:43:49.000Z (over 6 years ago)
- Last Synced: 2024-12-17T22:34:26.835Z (14 days ago)
- Topics: babel, eslint, html, javascript, nodejs, postcss, scss, webpack
- Language: JavaScript
- Homepage:
- Size: 419 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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