🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@reactunity/scripts

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactunity/scripts

Configuration and scripts for React Unity.

Source
npmnpm
Version
0.0.14
Version published
Weekly downloads
7
-46.15%
Maintainers
1
Weekly downloads
 
Created
Source

react-unity-scripts

This package includes scripts and configuration used by React Unity.
Please refer to its documentation:

  • Getting Started – How to create a new app.
  • User Guide – How to develop apps bootstrapped with Create React App.

Extra Environment Variables

  • FILENAME - Name of the generated javascript file. index.js by default.
  • BUILD_DIR - Path to the generated output. Relative to the project. build by default.
  • GENERATE_SOURCEMAP - false by default.
  • HARD_RELOAD - Reload the entire UI instead of doing HMR. false by default.
  • IMAGE_INLINE_SIZE_LIMIT - 0 by default. Because non-inlined images will be faster in Unity. However, users may still want to inline images.

Environment variables can also be defined by having .env, .env.local, .env.<development|production> in project folder.

FAQs

Package last updated on 08 Aug 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