Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

@hiro-ui/react-scripts

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hiro-ui/react-scripts

It's react-scripts@5.0.1 but with our own tweaks.

latest
npmnpm
Version
4.1.0
Version published
Maintainers
2
Created
Source

@hiro-ui/react-scripts

It's react-scripts@5.0.1 but with our own tweaks.

Notable changes

  • Node 20
  • SASS is supported out of the box (no need to install the node-sass package)
  • ESLint is disabled, because we run it with our own config through husky
  • Code splitting is managed by CHUNKS_GENERATION flag (process.env.CHUNKS_GENERATION === 'true';)
  • Disabled CRA REACTAPP prefix for .env variables' names
  • used old format of manifest file

Additional to CRA flags

--desktop | hiro-desktop config added for start and build command (multiple entrypoints, NODE_TLS_REJECT_UNAUTHORIZED and HIRO_VERSION in process.env)

Additional to CRA .env configuration parameters

VariableDevelopmentProductionNotes
CHUNKS_GENERATION-+When set to true, chunks are generated for a production build. Available only for desktop apps, not for desktop.

FAQs

Package last updated on 05 Jun 2024

Did you know?

Socket

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.

Install

Related posts