1.0.0 • Published 8 years ago
electron-react-ts-boilerplate v1.0.0
Electron Boilerplate
Boilerplate for developing Electron apps using TypeScript2.0 and ReactJS.
Usage
Clone this repository:
$ git clone https://github.com/ibrahimduran/electron-react-ts-boilerplate.git
Go to repository folder:
$ cd electron-react-ts-boilerplate
Install dependencies:
$ npm install
Build demo app:
$ gulp
Run demo app:
```bash $ npm start ```
or
$ electron .
Structure
├── app/
│ ├── components/
│ ├── resources/
│ ├── styles/
│ └── app.tsx
├── devtools/
│ └── react/
├── .gitignore
├── gulpfile.js
├── package.json
├── tsconfig.json
├── index.pug
└── main.ts
app/
Contains ReactJS application.
dist/
Output directory for build process.
devtools/
Contains 3th party extensions for development.
tsconfig.json
Configuration file for TypeScript project.
index.pug
Frontend entry point of application.
main.ts
Backend entry point of application.