Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edgeworkscreative/stencil-electron-app-starter
Minimal starter project for building an Electron app with Stencil.
https://github.com/edgeworkscreative/stencil-electron-app-starter
app boilerplate electron electronjs stencil stenciljs
Last synced: about 2 months ago
JSON representation
Minimal starter project for building an Electron app with Stencil.
- Host: GitHub
- URL: https://github.com/edgeworkscreative/stencil-electron-app-starter
- Owner: edgeworkscreative
- License: mit
- Created: 2018-09-26T23:22:53.000Z (over 6 years ago)
- Default Branch: add-builder
- Last Pushed: 2020-08-16T17:38:46.000Z (over 4 years ago)
- Last Synced: 2024-06-07T21:10:55.923Z (8 months ago)
- Topics: app, boilerplate, electron, electronjs, stencil, stenciljs
- Language: TypeScript
- Size: 218 KB
- Stars: 6
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Getting Started
Clone this repo to a new directory:
```bash
git clone https://github.com/edgeworkscreative/stencil-electron-app-starter my-app
cd my-app
git remote rm origin
```and run:
```bash
npm install
npm start
```To build the app for production, run:
```bash
sudo docker run --rm -ti --env ELECTRON_CACHE="/root/.cache/electron" --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" -v ${PWD}:/project -v ${PWD##*/}-node-modules:/project/node_modules -v ~/.cache/electron:/root/.cache/electron -v ~/.cache/electron-builder:/root/.cache/electron-builder electronuserland/builder:wine
``````bash
./node_modules/.bin/electron-builder --win
``````bash
./node_modules/.bin/electron-builder --linux deb
```### Thanks to
- [@davembush](https://medium.com/@davembush/typescript-and-electron-the-right-way-141c2e15e4e1)
- [TypeStrong/ts-node](https://github.com/TypeStrong/ts-node)
- [shelljs/shelljs](https://github.com/shelljs/shelljs)
- [sindresorhus/electron-serve](https://github.com/sindresorhus/electron-serve)
- [yan-foto/electron-reload](https://github.com/yan-foto/electron-reload)### TODO
- https://github.com/ArekSredzki/electron-release-server