You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@balancy/core

Package Overview
Dependencies
Maintainers
2
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balancy/core

todo

latest
Source
npmnpm
Version
1.4.5
Version published
Weekly downloads
256
326.67%
Maintainers
2
Weekly downloads
 
Created
Source

Installation

npm install @balancy/core

Development Notes

Build

npm run build          # build core + webview, then copy to Unity plugin
npm run build:core     # build core only
npm run build:webview  # build webview + copy to Unity plugin

Unity Plugin Copy Path

The copy:webview:force script copies the built WebView bundle to the sibling plugin_cpp_unity repo:

plugin_cpp_typescript/packages/core/  -->  plugin_cpp_unity/WebView/Resources/WebGL/

This expects plugin_cpp_unity to be cloned as a sibling of plugin_cpp_typescript:

Projects/
  plugin_cpp_typescript/   <-- this repo
  plugin_cpp_unity/        <-- Unity plugin repo (sibling)

The copy is skipped in CI (CI=true). Locally, it runs automatically after build:webview.

Previously this path was hardcoded to Pavel's Mac (/Volumes/PavelData/Projects/...). It now uses a relative path and cross-platform Node.js fs.copyFileSync instead of cp, so it works on Windows (cmd.exe, PowerShell), macOS, and Linux.

Keywords

gamedev

FAQs

Package last updated on 17 Mar 2026

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