All Projects → Robinfr → Electron React Typescript

Robinfr / Electron React Typescript

Licence: mit
Electron boilerplate with React, Redux, and TypeScript

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Electron React Typescript

Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (-13.24%)
Mutual labels:  boilerplate
Generator Babel Boilerplate
A Yeoman generator to author libraries in ES2015 (and beyond!) for Node and the browser.
Stars: ✭ 380 (-10.17%)
Mutual labels:  boilerplate
React Social Network
Simple React Social Network
Stars: ✭ 409 (-3.31%)
Mutual labels:  boilerplate
Starter Laravel Angular
Laravel and AngularJS Starter Application Boilerplate featuring Laravel 5.3 and AngularJS 1.5.8
Stars: ✭ 373 (-11.82%)
Mutual labels:  boilerplate
Docker Django
A complete docker package for deploying django which is easy to understand and deploy anywhere.
Stars: ✭ 378 (-10.64%)
Mutual labels:  boilerplate
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (-9.22%)
Mutual labels:  boilerplate
Reactnativets
Boilerplate of a React Native project in Typescript.
Stars: ✭ 364 (-13.95%)
Mutual labels:  boilerplate
Wordpress Plugin Boilerplate Powered
Wordpress Plugin Boilerplate but Powered with examples and a generator!
Stars: ✭ 413 (-2.36%)
Mutual labels:  boilerplate
React Mobx Typescript Boilerplate
A bare minimum frontend boilerplate with React 16.7, Typescript 3.2 and Webpack 4
Stars: ✭ 378 (-10.64%)
Mutual labels:  boilerplate
Webpack Boilerplate
A minimal webpack 5 boilerplate with only Babel, SASS and lodash (optional) on board
Stars: ✭ 404 (-4.49%)
Mutual labels:  boilerplate
Npm Module Boilerplate
Boilerplate for npm modules with ES6 features and all the best practices
Stars: ✭ 374 (-11.58%)
Mutual labels:  boilerplate
Go Project Blueprint
Blueprint/Boilerplate For Golang Projects
Stars: ✭ 376 (-11.11%)
Mutual labels:  boilerplate
Motherplate
A bare bones responsive SCSS boilerplate for web designers
Stars: ✭ 392 (-7.33%)
Mutual labels:  boilerplate
Go Api Boilerplate
Go Server/API boilerplate using best practices DDD CQRS ES gRPC
Stars: ✭ 373 (-11.82%)
Mutual labels:  boilerplate
Cucumber Boilerplate
Boilerplate project to run WebdriverIO tests with Cucumber
Stars: ✭ 411 (-2.84%)
Mutual labels:  boilerplate
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (-13.95%)
Mutual labels:  boilerplate
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (-9.22%)
Mutual labels:  boilerplate
Koa Rest Api Boilerplate
💯 Boilerplate for Node.js Koa RESTful API application with Docker, Swagger, Jest, CodeCov and CircleCI
Stars: ✭ 420 (-0.71%)
Mutual labels:  boilerplate
Flasksaas
A great starting point to build your SaaS in Flask & Python, with Stripe subscription billing 🚀
Stars: ✭ 412 (-2.6%)
Mutual labels:  boilerplate
Graphql Dataloader Boilerplate
Very simple boilerplate using GraphQL and DataLoader
Stars: ✭ 405 (-4.26%)
Mutual labels:  boilerplate

electron-react-typescript

A Boilerplate for an Easy Start with TypeScript, React, and Electron.

React Webpack TypeScript Electron Redux Jest

Electron application boilerplate based on React, Redux, and Webpack for rapid application development using TypeScript.

Install

Clone the repository with Git:

git clone --depth=1 [email protected]:Robinfr/electron-react-typescript.git <your-project-name>

And then install the dependencies:

cd <your-project-name>
npm install

Usage

Both processes have to be started simultaneously in different console tabs:

npm run start-renderer-dev
npm run start-main-dev

This will start the application with hot-reload so you can instantly start developing your application.

You can also run do the following to start both in a single process:

npm run start-dev

Packaging

We use Electron builder to build and package the application. By default you can run the following to package for your current platform:

npm run dist

This will create a installer for your platform in the releases folder.

You can make builds for specific platforms (or multiple platforms) by using the options found here. E.g. building for all platforms (Windows, Mac, Linux):

npm run dist -- -mwl

Husky and Prettier

This project comes with both Husky and Prettier setup to ensure a consistent code style.

To change the code style, you can change the configuration in .prettierrc.

In case you want to get rid of this, you can removing the following from package.json:

  1. Remove precommit from the scripts section
  2. Remove the lint-staged section
  3. Remove lint-staged, prettier, eslint-config-prettier, and husky from the devDependencies

Also remove all mentions of Prettier from the extends section in .eslintrc.json.

About this project

This project was set up from scratch but is heavily influenced by the Electron React Boilerplate project and React Redux TypeScript guide.

License

MIT © R. Franken

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].