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

we-vision

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

we-vision

Cli helper for vision component creation and debugging

latest
Source
npmnpm
Version
1.0.11
Version published
Weekly downloads
7
Maintainers
3
Weekly downloads
 
Created
Source

NPM Version NPM Downloads

Vision

React Component Build Helper

Description

Vision is created for developer to extract non-React component into React Component.

Install

git clone git@gitlab.intra.wepiao.com:Vision/vision.git

npm link # may require sudo 
OR
npm install we-vision -g

How to start

  • create seed project
vision init [Component_Name]

Then, seed project will be created as following.

├── README.md
├── design
│   ├── index.html
│   └── scss
│       └── style.scss
├── demo
│   ├── index.html
│   ├── js
│       └── index.jsx
├── index.js
├── package.json
└── src
    └── index.jsx
  • put your non-react code into design dir
├── design
│   ├── index.html
│   └── style
│       └── style.scss
  • dev start
  • view design page
// [-p PORT] to use a custom port
vision design # project root dir
  • view demo page (react component /jsx)
// [-p PORT] to use a custom port
vision start # project root dir
  • edit code in src
└── src
    └── index.js

TODO

Versions

  • 0.1.0
    • seed project create
    • HMR in dev mode
    • cli help info

Issues

Keywords

webpack

FAQs

Package last updated on 31 Mar 2016

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