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

create-river-build-app

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-river-build-app

This package is used to scaffold a new React River app.

  • 0.0.119
  • npm
  • Socket score

Version published
Weekly downloads
547
increased by17.89%
Maintainers
0
Weekly downloads
 
Created
Source

Create River Build App

This package is used to scaffold a new React River app.

Templates

Playground Template

By default, the script will create a new app using the Playground template: a full-featured example application.

yarn create river-build-app my-app

React Templates

It will run create-vite to scaffold the project using either react-ts or react template.

Then, it will install the necessary dependencies: @river-build/sdk and @river-build/react-sdk.

Finally, it will add the vite-plugin-node-polyfills to the vite.config.ts file to ensure compatibility with Node.js native modules that are used by the River SDK.

yarn create river-build-app my-app --template react-ts

Usage

You can use your preferred package manager to run the command. Example using yarn:

yarn create river-build-app

This will create a new React River app in the current directory.

If you want to create a new app in a different directory, you can specify the directory name as an argument:

yarn create river-build-app my-app

You can specify a template using the -t or --template flag:

yarn create river-build-app my-app --template react-ts

Available templates:

  • playground (default)
  • react-ts
  • react

FAQs

Package last updated on 01 Dec 2024

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