create-es-module
Advanced tools
Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "create-es-module", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Helper to create es module", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -37,3 +37,3 @@ # create-es-module | ||
yarn add flow-bin --dev | ||
npx flow --init | ||
npx flow init | ||
``` | ||
@@ -47,2 +47,5 @@ | ||
## Add `prettier` | ||
## What’s Included? | ||
@@ -49,0 +52,0 @@ - React, JSX, ES6 and Flow syntax support. |
@@ -90,2 +90,4 @@ #!/usr/bin/env node | ||
'jest', | ||
'babel-jest', | ||
'babel-core@^7.0.0-bridge.0', | ||
'rimraf', | ||
@@ -92,0 +94,0 @@ ], |
const presets = [['@babel/preset-env'], '@babel/preset-react', '@babel/preset-flow']; | ||
const plugins = ['@babel/plugin-proposal-class-properties']; | ||
@@ -15,6 +16,6 @@ if (process.env['BABEL_ENV'] === 'esm') { | ||
]; | ||
plugins.push('@babel/plugin-transform-runtime'); | ||
} | ||
const plugins = ['@babel/plugin-transform-runtime', '@babel/plugin-proposal-class-properties']; | ||
module.exports = {presets, plugins}; |
12874
243
64