New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mara/create

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mara/create

Create marauder app

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

@mara/create

npm

Marauder 项目模板生成工具。

命令

npx(推荐)

npx @mara/create my-app

需要 npm 5.2+ 版本

npm

npm init @mara my-app

需要 npm 6+ 版本

yarn

yarn create @mara my-app

需要 yarn 0.25+ 版本

Marauder CLI

npm i @mara/cli -g

mara create my-app

参数

  • --use-npm 使用 npm 安装依赖,默认 yarn
  • --use-pnp 使用 yarn pnp 模式
  • --no-ts 不使用 typescript
  • --preset | -p 指定预设模板,vue | react | other lib
  • --force | -f 强制在指定目录生成项目

流程

  • 创建或检查应用目录
  • 生成预置 package.json,添加依赖字段
  • 安装 @mara/x 及 App 框架依赖
  • 从 @mara/x 中提取项目模板
  • 更新 package.json 余项字段
  • 生成项目 src 目录及配置文件
  • (如果不存在)初始化 git 仓库

Keywords

FAQs

Package last updated on 25 Mar 2021

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