Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hubspot/ui-extensions-dev-server

Package Overview
Dependencies
Maintainers
23
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hubspot/ui-extensions-dev-server

Development server to run and test your HubSpot UI Extensions.

  • 0.7.3-canary.8
  • npm
  • Socket score

Version published
Weekly downloads
4K
decreased by-7.14%
Maintainers
23
Weekly downloads
 
Created
Source

UI Extensions – Dev Server

Development server to run and test your HubSpot UI Extensions.

Overview

This package contains the cli for running HubSpot UI extensions locally, as well as running a production build for debugging purposes.

Help

If for any reason you need help with the ui-extensions-dev-server you can access the help menu in a few ways:

  • hs-ui-extensions-dev-server
  • hs-ui-extensions-dev-server -h
  • hs-ui-extensions-dev-server --help

Local Development

Prompts you which of your extensions you would like to run in local dev mode. Once you have made your selection, it sets up a watcher on the entry point file for that project as well as any child files. Any changes to those files will trigger a local build which will bundle your code and output the bundle in a dist/ directory inside of your current working directory. To initiate local dev mode in the browser, you just need to navigate to the CRM where your the deployed version of your card lives. The browser will detect that you have the dev server running, and make the connection on your behalf.

ActionCommand
Standard Local Devhs-ui-extensions-dev-server dev
Bypass Prompths-ui-extensions-dev-server dev --extension MyEntryPointFile.jsx
hs-ui-extensions-dev-server dev -e MyEntryPointFile.jsx

Production Build

This should not be required in the standard development workflow. It is there to aid debugging the output of an extension. This command will run a build similar to what we will run when these extensions are uploaded. The output will be written into a dist/ directory in the current working directory.

ActionCommand
Build All Extensionshs-ui-extensions-dev-server build
Build a single extensionhs-ui-extensions-dev-server build --extension MyEntryPointFile.jsx
hs-ui-extensions-dev-server build -e MyEntryPointFile.jsx

FAQs

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