refactor: use node internal modules & replace fs-extra with node:fs (#273)

* refactor: use node:fs module instead of fs-extra
* refactor: use node:path module instead of path
* dep(npm): remove fs-extra
* refactor: use node:fs module instead of fs in electron app
* refactor: use node:os module instead of os
26 files changed
tree: 260b06b00ae4de98de7699d9f2232d51e74f98f0
  1. .github/
  2. bin/
  3. cordova-js-src/
  4. lib/
  5. tests/
  6. .asf.yaml
  7. .eslintignore
  8. .eslintrc.yml
  9. .gitattributes
  10. .gitignore
  11. .npmignore
  12. .ratignore
  13. CONTRIBUTING.md
  14. DOCUMENTATION.md
  15. licence_checker.yml
  16. LICENSE
  17. NOTICE
  18. package-lock.json
  19. package.json
  20. README.md
  21. RELEASENOTES.md
README.md

Cordova Electron

Electron is a framework that uses web technologies (HTML, CSS, and JS) to build cross-platform desktop applications.

Platform Objectives

  • Build Desktop Applications (Linux, macOS, and Windows)
  • Sign Applications for Release

Usage

Cordova CLI

$ npm install -g cordova@latest
$ cordova create helloworld
$ cd helloworld
$ cordova platform add electron
$ cordova run electron

Documentation

For more documentation, please refer to the DOCUMENTATION.md file.

Contributions

The Apache Cordova team would like to thank Ibby Hadeed for transferring the cordova-electron npm package name to Apache Cordova. Thanks!