Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/louisgv/upspa

Basic server to serve SPA. Seek to be production ready. PR Welcome!
https://github.com/louisgv/upspa

Last synced: 7 days ago
JSON representation

Basic server to serve SPA. Seek to be production ready. PR Welcome!

Awesome Lists containing this project

README

        

# upspa

> This readme is automatically generated by [create-pastel-app](https://github.com/vadimdemedes/create-pastel-app)

## NPX Usage:

```bash
$ npx upspa build
```

## Install

```bash
$ npm install upspa
```

## CLI

```
$ upspa

🚀 Production SPA server (beta sofrware, use at your own risk)

Positionals:
static-path Path of the directory containing the SPA [string]

Options:
--help Show help [boolean]
--version Show version number [boolean]
--static-port, -p Port to serve the server [number] [default: 3000]
--index-file, -f The index file of the SPA [string] [default: "index.html"]
```

## Development

There are 2 available commands:

- `npm run dev` - Start development mode and recompile on change
- `npm run build` - Build a final distributable for npm