Socket
Socket
Sign inDemoInstall

capri-create

Package Overview
Dependencies
104
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    capri-create

Create Capri projects with a single command


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Create Capri

The easiest way to get started with Capri is by using @capri-js/create. This CLI tool enables you to quickly start building a new Capri site, with everything set up for you. You can create a new site using the default template, or by using one of the official examples. To get started, use the following command:

npm init capri
# or
yarn create capri
# or

To create a new project in a specific folder, you can pass a name as argument argument

npm init capri -- my-capri-site
# or
yarn create capri my-capri-site

Options

create-capri comes with the following options:

  • -e, --example [name]|[github-url] - An example to bootstrap the project with. You can use an example name from the Capri repo or a GitHub URL. The URL can use any branch and/or subdirectory.
  • --example-path <path-to-example> - In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately: --example-path foo/bar

FAQs

Last updated on 29 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