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

https://github.com/snvfk1n/static-setup

⚙ personal setup for static websites
https://github.com/snvfk1n/static-setup

webpack

Last synced: 6 months ago
JSON representation

⚙ personal setup for static websites

Awesome Lists containing this project

README

          

# Jan's Static Setup

This is a simple setup for building websites that emit static assets, i.e., a
SPA using [React](https://facebook.github.io/react/), built with
[Webpack](https://webpack.js.org/). Several configurations are provided
(`webpack.config.js`, `.babelrc`, …), and dependencies are added via
`yarn add …` without a lockfile.

For setup, perform the following steps:

1. Get the files of this repo: `git clone --depth=1 https://github.com/fallafeljan/static-setup.git`
2. Perform installation: `./install.js`
3. Remove unused files (`install.js`, `.git`)

After setting up, the following commands are at your hands:

* `yarn run dev` Spawn a local development server
* `yarn run build` Build all static assets into (see `public/`)