Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
cra-template-ts-electron-react-eslint-prettier-airbnb
Advanced tools
An All-in-one template to create Electron applications with Create React App, TypeScript 4.1.3, support for SASS/SCSS files, Prettier and ESLint configurations recommended by Airbnb, and support for Recoil State Management Library.
An All-in-one template to create Electron applications with Create React App. The template includes:
generate-react-cli
npx executableUse create-react-app and run the provided template:
$ npx create-react-app my_new_app --template cra-template-ts-electron-react-eslint-prettier-airbnb
To start developing use yarn start
so it will execute the compilation of the electron main process and the development server from create-react-app. after the build is complete, electron-forge will load the application on the browser.
Important Note: The first time you run yarn start
will take a while since electron-forge needs to initialize all the electron framework in your project.
After the application starts, you are free to close the electron window and start to develop your application.
Take advantage of the current generate-react-cli.json
to generate components on the fly. To generate a new component run in your terminal
$ yarn add:component MyNewComponent
Paths are defined in two places:
As an example, I have left a custom path called @
so you can invoke your scripts and stylesheets without going nuts. Example:
import MyNewComponent from `@/Components/MyNewComponent`;
or in SCSS
@import "@/lib/scss/_master";
Support my work by donating any value in dogecoin in this url :)
https://dogechain.info/address/DFKcaAVmda9jTL59CBamSHEcYytXhd8Q2G
FAQs
An All-in-one template to create Electron applications with Create React App, TypeScript 4.1.3, support for SASS/SCSS files, Prettier and ESLint configurations recommended by Airbnb, and support for Recoil State Management Library.
The npm package cra-template-ts-electron-react-eslint-prettier-airbnb receives a total of 4 weekly downloads. As such, cra-template-ts-electron-react-eslint-prettier-airbnb popularity was classified as not popular.
We found that cra-template-ts-electron-react-eslint-prettier-airbnb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.