Socket
Book a DemoInstallSign in
Socket

create-react-swc-app

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-swc-app

terminal cli for swc-react-template

1.2.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

create-react-swc-app

GitHub Release Date npm package NPM downloads GitHub license code style: prettier

introduction

the cli command to create a react-swc template.

terminal

npx create-react-swc-app [project-name] -[flag]

usage

you can use cli commands to create your own react application.

Usage: create-react-swc-app [options] [name]

create a project

Arguments:
  name              project name

Options:
  -ts --typescript  language
  -js --javascript  language
  -h, --help        display help for command

for example, i want to create a project named my-app and i want to use typescript:

 npx create-react-swc-app my-app -ts
⚛️   React With SWC  ⚛️
✔ 🎉🎉🎉 succeed download template! 🎉🎉🎉
? 🤔 choose a package manager (Use arrow keys)
❯ npm
  yarn
  pnpm

you can just run npx create-react-swc-app instead.

npx create-react-swc-app
? 🤔 project name? my-app
? 🤔 choose a template TypeScript
⚛️   React With SWC  ⚛️
✔ 🎉🎉🎉 succeed download template! 🎉🎉🎉
? 🤔 choose a package manager (Use arrow keys)
❯ npm
  yarn
  pnpm

now, you can see the now folder in current working space.

then, you can select the package manager to download the dependencies.

? 🤔 choose a package manager pnpm
✔ 🎉🎉🎉 success download dependencies! 🎉🎉🎉
🚀 run: cd ./my-app && pnpm dev

if you see something like this, congratulations!

Keywords

cli

FAQs

Package last updated on 15 Nov 2023

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.