New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eslym/rs4r

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslym/rs4r

Build svelte for Node-RED with rollup

  • 2.0.16
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Rollup Svelte for RED

Build svelte for Node-RED with rollup, please check the example for usage.

This project is inspired by and compatible with svelte-integration-red, please check it out for svelte components.

Project Directory structure

  • package.json
  • rollup.config.js
  • src
    • nodes
      • {node-name}
        • index.{md,html} (node help)
        • index.svelte (node editor UI)
        • index.js (node main file)
    • lib (alias as $lib, only exists for back-end)
    • editor (alias as $editor, only exists for front-end)
    • shared (alias as $shared, exists for both)

Aliases

AliasPathDescription
$libsrc/libFor back-end, the directory contains all the files that will be bundled.
$editorsrc/editorFor front-end, the directory contains all the files that will be bundled.
$sharedsrc/sharedThe directory contains all the files that will be bundled for both.
$package.jsonpackage.jsonThe package.json file in the project root directory.
*?red-icon*Import as asset name, will auto output to icons directory.
*?red-res*Import as path for editor resource, the string will include the reousrces/${package.name}/ prefix

Important

This builder will auto discover all nodes in src/nodes directory, add add them into package.json in dist directorym, so anyone using this builder will need to publish the dist directory instead of the project root directory.

FAQs

Package last updated on 18 Sep 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc