Socket
Socket
Sign inDemoInstall

@zeplin/cli

Package Overview
Dependencies
124
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @zeplin/cli

Zeplin CLI


Version published
Weekly downloads
4.1K
increased by34.95%
Maintainers
5
Created
Weekly downloads
 

Readme

Source

Zeplin CLI

Installation

Install Zeplin CLI using npm.

npm install -g @zeplin/cli

Usage

zeplin <command> [options]

Connected Components

Placeholder description here.

zeplin connect
OptionsDescriptionDefault
-f, --file Full path to components config file.zeplin/components.json
-d, --devActivate development modefalse
--port Optional port number for development mode9756
-p, --plugin NPM package name of a Zeplin CLI connect plugin
-h, --helpoutput usage information
Examples:

Specify a custom path for components config file.

zeplin connect -f path/to/your-components.json

You can use multiple config files and multiple plugins at once.

zeplin connect -f path/to/components.json -f path/to/other/components.json -p plugin-npm-package-name -p other-plugin-npm-package-name
Connected Components Plugins

Install connect plugin using npm.

npm install -g @zeplin/cli-connect-react-plugin

Execute connect command using the plugin.

zeplin connect -p @zeplin/cli-connect-react-plugin
Offical Plugins
NPM package nameDescription
@zeplin/cli-connect-react-pluginGenerates snippet samples using React PropTypes
@zeplin/cli-connect-swift-pluginGenerates snippet using Swift components (*)
@zeplin/cli-connect-kotlin-pluginGenerate snippets using Kotlin components (*)

(*) - Since the language has no popular convention of component like React components, we have defined a sample component for the language. The plugin is only compatible with this component convention. Feel free to use these plugins as a base for a custom plugin compatible with your own codebase. Check Custom Plugins below.

Custom Plugins

You can develop a custom plugin to extract/generate description and snippets of your code base.

npm install --save-dev @zeplin/cli

You can find details about plugin development here.

FAQs

Last updated on 20 Nov 2019

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc