New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

simple-create-react-app

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-create-react-app

这是一个100行代码的简化版的` create-react-app `,去除了环境检测、版本检测、离线包检测等代码,只保留了创建` react ` 项目的核心代码。只用作学习,其他用途不承担任何风险责任。线上项目,请使用官方的` create-react-app `

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

这是一个简化版的 create-react-app

这是一个100行代码的简化版的create-react-app,去除了环境检测、版本检测、离线包检测等代码,只保留了创建react 项目的核心代码。只用作学习,其他用途不承担任何风险责任。线上项目,请使用官方的create-react-app

功能介绍:

  • 其他的可选参数全部会忽略,像simple-craete-react-app --info会无视的。
  • 只能使用yarn安装依赖,所以要保证电脑有yarn环境。
  • 不支持离线包react-scripts的安装
  • 不能选择react-scripts的版本,只能安装默认的
  • 只能在当前目录下创建新项目

用法

# 先要全局安装
npm install -g simple-create-react-app

# 然后在你想要创建react项目的地方运行:
simple-create-react-app your-project-name 

Keywords

react

FAQs

Package last updated on 20 Jul 2018

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