https://github.com/juliankrispel/electron-react-typescript
Electron React Typescript Starter.
https://github.com/juliankrispel/electron-react-typescript
boilerplate electron react starter typescript
Last synced: about 2 months ago
JSON representation
Electron React Typescript Starter.
- Host: GitHub
- URL: https://github.com/juliankrispel/electron-react-typescript
- Owner: juliankrispel
- License: mit
- Created: 2020-11-02T09:26:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T09:42:50.000Z (over 5 years ago)
- Last Synced: 2025-06-16T21:46:55.567Z (about 1 year ago)
- Topics: boilerplate, electron, react, starter, typescript
- Language: TypeScript
- Homepage: https://github.com/juliankrispel/electron-react-typescript
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MD
Awesome Lists containing this project
README
# Electron React Typescript Starter
Minimal starting point so you can add the tools of your choice easily.
## Getting started
1. Clone the repo: `git clone git@github.com:juliankrispel/electron-react-typescript.git`
2. Install dependencies: `npm install`
3. `npm run dev`
### Folder structure
- `./electron/index.ts` - compiles to our electron script. This is the entry point of our electron application. Keep all related files in the `electron` folder
- `./src/index.ts` - entry point for our frontend, keep all your frontend code in the same folder.
### Scripts
- `npm run start` - automatically compiles files in `src` and `electron`
- `npm run build` - build both electron script and react frontend
- `npm run watch` - watch and compile all files in `electron` and `src` folders
- `npm run electron` - start electron
- `npm run watch:node` - watch and compile all files in `electron`
- `npm run watch:browser` - watch and compile all files in `src`
- `npm run build:node` - compile all files in `electron`
- `npm run build:browser` - compile all files in `src`
Any questions? Reach [out on twitter](https://twitter.com/juliandoesstuff). Also don't forget to check [out my blog](https://jkrsp.com/).