July 2017
Intermediate to advanced
300 pages
5h 43m
English
We have to set up our development environment for the project. So, we dedicate a directory and put the following manifest there:
./package.json
{
"name": "rss-aggregator",
"title": "RSS Aggregator",
"version": "1.0.0",
"main": "./app/main.js",
"scripts": {
"build": "webpack",
"start": "electron .",
"dev": "webpack -d --watch"
}
}
As requested by any Electron application, we set the path to our main process script in the main field. We also define scripts commands to run Webpack for building and for watching. We set one scripts command for running the application with Electron. Now, we can install the dependencies. We definitely need TypeScript, as we are going to build the application ...
Read now
Unlock full access