Socket
Book a DemoInstallSign in
Socket

vtex

Package Overview
Dependencies
Maintainers
6
Versions
729
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vtex

CLI tool for creating and managing VTEX apps

0.4.0
Source
npmnpm
Version published
Weekly downloads
1.5K
-20.28%
Maintainers
6
Weekly downloads
 
Created
Source

VTEX Toolbelt

CLI tool for developing VTEX apps.

Install

First, install node and npm (Linux, Mac and Windows).

Then install VTEX Toolbelt globally:

npm install -g vtex

Livereload

Add to your layout the script:

  <script src="http://localhost:35729/livereload.js?snipver=1"></script>

Developing an app

To develop an app locally, open the directory where your VTEX app is then type:

vtex watch <sandbox-name>

You are free to set any name you want in the sandbox-name parameter.

VTEX Toolbelt will upload all your app files to the sandbox specified and will be watching for any changes you make to them.

Requirements

For this to work make sure this requirements are filled:

  • Your app must have a proper meta.json (read more)
  • Your app need to be installed on your store OR set on your store dependencies on the meta.json file
  • You must properly set vtex_sandbox cookie (read more)

Publishing an app

To publish your VTEX app to VTEX Gallery, just type vtex publish. The app will be published under the vendor name.

Keywords

CLI

FAQs

Package last updated on 30 Jun 2015

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.