Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

direflow-cli

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

direflow-cli

Official CLI for Direflow

  • 1.0.16
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

NPM Version Github License Build Status Code Coverage

Official webpage

Set up a React App and build it as a Web Component

This setup is is based on react-scripts from create-react-app
A thorough description of the principles used in this setup, can be read in this article

Features include

✔ Full Webpack control
✔ Bundling multiple components together
✔ Data-sharing and interactions bewteen components
✔ Passing child elements to the component
✔ Plugins for varies purposes: font-loading, external scripts, styled-components, and more ...

Get started

Start by downloading the cli:

npm i -g direflow-cli
Read more on direflow.io

Create a new Direflow Component

direflow create -c

This will bootstrap a new Direflow Component for you. Now use the following commands:

cd <project-folder>
yarn install
yarn start

Your Direflow Component will start running on localhost:3000 and your browser opens a new window

Read more on direflow.io

Create a new Direflow Project

direflow create -p

Now cd into the project, and create the first Direflow Component

cd <project-name>
direflow create -c

This will create a folder called direflow-components, which will contain all Direflow Components related to the project.

Read more on direflow.io

Contributing

Issues

In the case of a bug report, bugfix or a suggestions, please feel very free to open an issue.

Pull request

Pull requests are always welcome, and I'll do my best to do reviews as fast as I can.

License

This project is licensed under the MIT License

Get Help

Read more about using Web Components with React on the official React Docs

Keywords

FAQs

Package last updated on 09 Nov 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

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