Socket
Socket
Sign inDemoInstall

@frontify/frontify-cli

Package Overview
Dependencies
545
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @frontify/frontify-cli

[![Continuous Integration](https://github.com/Frontify/frontify-cli/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/Frontify/frontify-cli/actions/workflows/continuous-integration.yml)


Version published
Weekly downloads
286
increased by11.28%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Frontify CLI

Continuous Integration

Prerequisite

  • Node >=14

Installation

npm install -g @frontify/frontify-cli
# Or
yarn global add @frontify/frontify-cli

Content Block

Create

npx @frontify/frontify-cli block create <app name>

The content block name needs to be lowercase, spaces are not allowed but you can use an underscore instead.

Example: my_custom_content_block

Serve

frontify-cli block serve

Params:

ParametersDescriptionTypeDefault Value
contentBlockPathDirectory of the blockstringCurrent dir
entryPathPath to the entry filestringsrc/index.tsx
settingsPathPath to the settings filestringsrc/settings.ts
portPort for the local web serverstring5600

Deploy

frontify-cli block deploy --instance=<Frontify URL>

The Frontify URL represent your instance URL.

Example: weare.frontify.com or https://weare.frontify.com

Authentification

Login

frontify-cli login --instance=<Frontify URL>

The Frontify URL represent your instance URL.

Example: weare.frontify.com or https://weare.frontify.com

Logout

frontify-cli logout

Configuration

macOS: ~/Library/Preferences/frontify-cli-nodejs

FAQs

Last updated on 16 May 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc