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

react-generator-sc

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-generator-sc

A cli for react

latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

react-generator-sc

introduction

  • react-generator-sc: It's a cli for react, similar like vue-cli and more like Angular cli, since it can not only build project itselft but also build components. So we can call it as a full-stack cli.
  • templates: The templates are base on create-react-app, if you hava any good idea about templates, feel free to reach out to me.

how to use?

1. installation

npm i react-generator-sc -g

2. init project

if [yourProjectName] is null, when you run sc i, it will create a project called myApp by default.

sc i [yourProjectName]

other commands

sc g c [yourComponentName]
sc g p [yourPageName]

test

npm run start

Here're some issue you may meet in devoloping cli

  • fs.copy(), copy and replace in batch
  • define projectFolder and apply to your project
  • fetch arguments in terminal
  • the way to change .npmigore to .gitignore

updates

  • Add __TEST__ folder in src and homepage property in package.json 12/26/2018
  • Add mockup-server and auto-created resful api, and all the mockup data will be stored in file db.json. You just need to run yarn start and get the new features. 01/03/2019

contact me

If you have any issue in using this cli, please write to me directly, will reply to you when available. My email is mbp98k@gmail.com

License MIT © Scott Xiong

Keywords

cli react

FAQs

Package last updated on 16 Feb 2019

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