Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/louisgv/upspa
- Owner: louisgv
- Created: 2019-08-24T01:44:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T07:59:50.000Z (about 2 years ago)
- Last Synced: 2024-11-09T09:46:57.812Z (2 months ago)
- Language: JavaScript
- Size: 1.68 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
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