1.0.0 • Published 8 years ago

electron-react-ts-boilerplate v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Electron Boilerplate npm version David David

Boilerplate for developing Electron apps using TypeScript2.0 and ReactJS.

Usage

  1. Clone this repository:

    $ git clone https://github.com/ibrahimduran/electron-react-ts-boilerplate.git
  2. Go to repository folder:

    $ cd electron-react-ts-boilerplate
  3. Install dependencies:

    $ npm install
  4. Build demo app:

    $ gulp
  5. 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.

License

MIT License