@jacobmischka/preact-cli-plugin-flow

0.2.1 • Public • Published

preact-cli-plugin-flow

Use flow with the Preact CLI

Getting Started

Install it via npm:

npm install preact-cli-plugin-flow --save-dev

This will install:

After install this plugin will run 3 commands:

  • flow init to create your .flowconfig
  • install flow-bin so you can run the flow binary in your folder
  • run flow-typed update to get all the definitions from libs installed

After this just include it in your project by creating a preact.config.js

const preactCliFlow = require('preact-cli-plugin-flow');

export default function (config) {
	preactCliFlow(config);
}

Now you can use flow all you want 🎉

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @jacobmischka/preact-cli-plugin-flow

Weekly Downloads

1

Version

0.2.1

License

MIT

Last publish

Collaborators

  • jacobmischka