1- # Electron-React-TypeScript-Webpack- Boilerplate
1+ # Electron-React-TypeScript-Webpack (ERTW) Boilerplate
22A boilerplate that let you instantly start working on your next [ Electron] app
3- in [ TypeScript] with no time wasted messing with the config files.
3+ project in [ TypeScript] with no time wasted messing with the config files.
44
55- Ready to use [ Electron] project template with [ React] , [ Webpack] and
66 [ TypeScript] seamlessly integrated.
@@ -16,8 +16,8 @@ in [TypeScript] with no time wasted messing with the config files.
1616doesn't work, please [ file an issue] .*
1717
1818### Maintenance schedule
19- Starting from ` v4.0.0 ` , the project maintenance will become much more regular.
20- A new release will be published on a monthly basis to keep the package
19+ Starting from [ ` v4.0.0 ` ] , this project is set to receive regular maintenances .
20+ New releases will be published on monthly basis to keep the package
2121dependencies, package configurations and APIs / syntax up to date.
2222
2323Maintenance work will begin on 1st of each month, and expect the new version to
@@ -27,9 +27,10 @@ especially on experimental features. If you want any particular feature to be
2727implemented, please [ file an issue] , or consider make a [ new pull request] .
2828
2929### Development plan
30- - [ ] Create a ` create-react-app ` -like package initialiser __ !!!__
30+ - [ ] Develop a ` create-react-app ` -like NPX tool __ !!!__
31+ __ * ([ working on it] ( https://github.com/Devtography/create-ertw-app ) )* __
3132- [ ] Integrate another end-to-end testing framework to replace [ Spectron]
32- - [ ] Migrate to Webpack 5 ` Asset Modules `
33+ - [ ] Migrate to Webpack 5 ` Asset Modules ` __ * (pending for ` v4.2.0 ` ) * __
3334
3435---
3536
@@ -48,6 +49,11 @@ implemented, please [file an issue], or consider make a [new pull request].
4849 ` mocha ` as your unit testing framework, please reference to ` package.json `
4950 from [ ` v3.0.0 ` ] .
5051
52+ - [ ESLint] config file ` .eslintrc.cjs ` introduced in [ ` v4.1.0 ` ] is written in
53+ CommonJS syntax on purpose. As of the release of [ ` v4.1.0 ` ] , ESLint has yet
54+ to support ES module for its' config file. __ Converting the config file to
55+ ES module will result in ESLint not working.__
56+
5157---
5258
5359## Getting started
@@ -123,7 +129,7 @@ To package your Electron app, run `npm run prod` to get your code compiled in
123129 meant to improve performance of reading files if bundler like Webpack is not
124130 being used. The app packaging workflow defined in this boilerplate already
125131 uses Webpack to minify your code in `production` builds, so there shouldn't
126- be any significant performance different with `asar` archiving disabled.
132+ be any significant performance difference with `asar` archiving disabled.
127133
128134## Project folders & files
129135- `dist/` - [Webpack] output location
@@ -210,7 +216,7 @@ To package your Electron app, run `npm run prod` to get your code compiled in
210216 - `main/main.spec.ts` - Sample test file for `src/main/main`
211217 - `tsconfig.json` - TypeScript config file for `tests` module
212218- `.eslintignore` - [ESLint] ignore file
213- - `.eslintrc` - [ESLint] config file
219+ - `.eslintrc.cjs ` - [ESLint] config file
214220
215221 Configured to use Airbnb's rules with [TypeScript] supported, and rules for
216222 [Jest ] applied.
@@ -229,6 +235,7 @@ To package your Electron app, run `npm run prod` to get your code compiled in
229235 build config setup guides.
230236
231237- `README.md`
238+ - `tsconfig.eslint.json` - [TypeScript] config file consume by [ESLint].
232239- `tsconfig.json` - [TypeScript] config file
233240
234241 Module path aliases are configured here. [Jest] & [Webpack] will pick up the
@@ -240,13 +247,14 @@ To package your Electron app, run `npm run prod` to get your code compiled in
240247 Includes configurations targetting `electron-main`, `electron-preload`, and
241248 `electron-renderer` respectively.
242249
243- ## Author
244- [Wing Chau ](https://github.com/iamWing) [@Devtography](https://github.com/Devtography)
245-
246250## Donation
247251Maintaining this project takes time, lots of cups of coffee, and I do it for
248- free. Consider buy me coffee via [donations]. 100% of donation will fund my
249- coffee buying budget for quality coffee beans from great roasters I know 😉 ☕️️
252+ free. Consider buy me some coffee via [GitHub Sponsors] or [PayPal]. 100% of
253+ your donation will fund my coffee buying budget for quality coffee beans from
254+ great roasters I know 😉 ☕️️
255+
256+ ## Author
257+ [Wing Chau ](https://github.com/iamWing) [@Devtography](https://github.com/Devtography)
250258
251259## License
252260Electron React TypeScript Webpack Boilerplate is open source software
@@ -265,11 +273,15 @@ Electron React TypeScript Webpack Boilerplate is open source software
265273[Playwright ]: https://playwright.dev
266274[WebdriverIO ]: https://webdriver.io
267275[Spectron Deprecation Notice ]: https://www.electronjs.org/blog/spectron-deprecation-notice
268- [`v3.0.0` ]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v3.0.0
269276[`Use this template` ]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/generate
270277[`tsconfig-paths` ]: https://github.com/dividab/tsconfig-paths
271278[`tsconfig-paths-webpack-plugin` ]: https://github.com/dividab/tsconfig-paths-webpack-plugin
272279[Electron quick start guide ]: https://www.electronjs.org/docs/latest/tutorial/quick-start
273280[Electron Forge ]: https://github.com/electron-userland/electron-forge
274281[`electron-builder`'s document ]: https://www.electron.build
275- [donations ]: https://github.com/sponsors/iamWing
282+ [GitHub Sponsors ]: https://github.com/sponsors/iamWing
283+ [PayPal ]: https://paypal.me/iamWing0w0
284+
285+ [`v3.0.0` ]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v3.0.0
286+ [`v4.0.0` ]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v4.0.0
287+ [`v4.1.0` ]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v4.1.0
0 commit comments