Need help with Electron-React-Boilerplate?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

airtoxin
202 Stars 37 Forks MIT License 40 Commits 6 Opened issues

Description

No longer maintained.

Services available

!
?

Need anything else?

Contributors list

# 278,662
TypeScr...
static-...
HTML
20 commits
# 83,283
TypeScr...
Ruby
sed
Jekyll
9 commits
# 187,122
Kuberne...
kubectl
JavaScr...
HTML
4 commits
# 290,436
JavaScr...
HTML
Shell
Jekyll
1 commit

[Deprecated]~~Electron-React-Boilerplate~~

No longer maintained.

How to develop

  1. npm i
  2. npm start
  3. open application in build directory
  4. add some react components and styles
  5. reload application (⌘+R)

Electron api calling

To call Electron's api, it is necessary to use window.require because, browserify rewrites require statement.

ex)

var remote = window.require( 'remote' );

Refactoring

Run

npm run refactor
to refactor the code in accordance to jscs preset specified in the
.jscsrc
file.

Linting

Run

npm run lint
to run a linter through the codebase. The linter will check the codebase as specified in the configuration file named
.eslintrc
. Fix all reported errors prior to committing code.

An example of a

.eslintrc
follows:
{
  "ecmaFeatures": {
    "blockBindings": true,
    "jsx": true
  },
  "rules": {
    "semi": 2
  }
}

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.