如何将 Babel Standalone 与 Flow 一起使用

How can I use Babel Standalone with Flow

我是一名完全的前端 Web 开发人员,有时我会在 IDE 中使用 TypeScript。但是 TypeScript 是严格的,它需要 npm 而我的主机上没有 npm(我不想要另一个)。所以 Flow with Babel Standalone 是一个不错的选择。但是如何添加 Flow 插件呢?

完成:

<script type="text/babel" data-plugins="______" src="script.js"></script>
<script type="text/babel" data-plugins="flow-strip-types" src="script.js"></script>

查看 https://babeljs.io/docs/en/plugins#docsNav