New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@beemo/driver-flow

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beemo/driver-flow

Flow driver for Beemo.

  • 0.7.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
81
increased by478.57%
Maintainers
2
Weekly downloads
 
Created
Source

Flow Driver

Provides Flow support for Beemo, a build tool manager.

Installation

yarn add @beemo/driver-flow flow-bin
// Or
npm install @beemo/driver-flow flow-bin --save

Usage

In your configuration module, install the driver and Flow. Create a file at configs/flow.js in which to house your Flow configuration.

In your consuming project, enable the driver by adding flow to your drivers config.

More information on how to get started can be found in the official documentation.

Config Format

In Beemo, Flow is configured using a JavaScript file, and not the .flowconfig file. To support this, the following conventions must be followed.

  • ignore, include, and libs are an array of strings.
  • lints is an object. Properties are snake case (underscored instead of dashed).
  • options is an object. Properties with periods in them denote nested objects.
    • suppress_comment must be double escaped.
  • version is a string.

An example:

// configs/flow.js
module.exports = {
  ignore: [
    '.*/node_modules/.*',
    '.*/tests/.*',
    '.*\\.test\\.js',
  ],
  include: [
    './src',
  ],
  lints: {
    untyped_import: 'warn',
  },
  options: {
    emoji: true,
    module: {
      ignore_non_literal_requires: true,
    },
    suppress_comment: '\\\\(.\\\\|\\n\\\\)*\\\\$FlowFixMe',
  },
};

Keywords

FAQs

Package last updated on 01 Feb 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

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