Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@hiro-ui/react-scripts

Package Overview
Dependencies
Maintainers
11
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hiro-ui/react-scripts

Simplified version of the [CRA's](https://github.com/facebook/create-react-app) main package.

npmnpm
Version
0.3.0-alpha.120
Version published
Weekly downloads
274
2390.91%
Maintainers
11
Weekly downloads
 
Created
Source

@hiro-ui/react-scripts

Simplified version of the CRA's main package.

Notable changes

  • Node 12+
  • SASS is supported out of the box (no need to install the node-sass package)
  • WebWorker is supported out of the box (just suffix a file with .worker.js)
  • Optional Chaining Operator
  • Nullish Coalescing Operator

Available configuration parameters

VariableDevelopmentProductionNotes
PORT+-By default, the dev server will try to use port 3000. You may use this variable to specify a different port.
HOST+-By default, the development web server binds to localhost. You may use this variable to specify a different host.
HTTPS+-When set to true, app will run the development server in https mode.
PUBLIC_URL-+Your application is assumed to be hosted at the serving web server's root. You may use this variable to force assets to be referenced verbatim to the url you provide (hostname included). This may be particularly useful when using a CDN to host your application.
CI++When set to true, app treats warnings as failures in the build. It also makes the test runner non-watching. Most CIs set this flag by default.
GENERATE_SOURCEMAP-+When set to false, source maps are not generated for a production build. This solves out of memory (OOM) issues on some smaller machines.
SPLIT_CHUNKS-+Code splitting is disabled by default. You may set this variable to true in order to enable code splitting.

FAQs

Package last updated on 30 Jul 2020

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