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

generator-wy

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-wy

react-cli

latest
Source
npmnpm
Version
0.0.9
Version published
Weekly downloads
1
-94.12%
Maintainers
1
Weekly downloads
 
Created
Source

generator-wy NPM version Build Status

what's react-cli for?

It's a cli for react, with which we can quickly build our react application.

how to use?

1. installation

First, install Yeoman and generator-wy using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-wy

2. build your project

Then cd to somewhere you like(here is desktop), then start to generate your new project with following commands:

yo wy

3. build react components

  • yo wy:common will create a component inside the common folder. Normally, the common folder used to store the component many pages will use.
  • yo wy:pages will create a component inside the pages folder. Just as you can imagin, this folder used to store page component.

cd to your project folder, run :

yo wy:common
yo wy:pages



Warning

please download then cd the project folder, and run npm link. if you don't want to use it please run npm unlink in the project folder as well. if you don't do like this, it'll cause some trouble.

developement confilict

some files, such as filename .gitignore will be changed into .nmpignore, so aviod this fault. We suggest rename the files which was started with ., here we use _

contact me

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

License

MIT © Scott Xiong

Keywords

cli react

FAQs

Package last updated on 08 Dec 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