Socket
Book a DemoInstallSign in
Socket

react-vr-cli

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-vr-cli

The React VR CLI for project setup

0.3.6
latest
Source
npmnpm
Version published
Weekly downloads
116
544.44%
Maintainers
3
Weekly downloads
 
Created
Source

React VR CLI

React VR is distributed as two packages, react-vr and react-vr-cli. The first one contains all of the code necessary to build React VR applications, and is installed as part of your project's dependencies. This directory contains the code for the second one: a command-line tool that should be installed globally (npm install -g react-vr-cli) and which allows you to quickly initialize React VR projects.

Using the CLI

Once the CLI has been globally installed, you can use it to generate new projects. Running the command:

react-vr init MyProject

will create a new project directory called MyProject. It will create all of the files necessary to get started with React VR, and will automatically run npm install to fetch your project's dependencies.

Once a project has been generated, you can run npm start to launch the packager and begin running your application.

Generators

The React VR CLI creates the starter project based upon the files found in the generators directory. These are very simple JavaScript modules that produce files from string templates. Configuration variables can be passed from the CLI to these generators, which return an object containing two keys: filename and content. Together, these are used to create a file at the generator's relative location. For example, a generator located in generators/vr will produce a file in $PROJECT_DIRECTORY/vr/.

FAQs

Package last updated on 04 Oct 2017

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.