Updated package to use flow as dev dependency

This commit is contained in:
Arnaud Vergnet 2020-04-03 13:05:39 +02:00
parent 64c69fed47
commit 0db000f602
2 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,7 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
presets: ['babel-preset-expo', '@babel/preset-flow'],
env: {
production: {
plugins: ['react-native-paper/babel'],

View file

@ -52,7 +52,11 @@
"react-native-webview": "7.4.3"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-flow": "^7.9.0",
"babel-preset-expo": "^8.0.0",
"flow-bin": "^0.122.0",
"jest": "^25.1.0",
"jest-extended": "^0.11.5",
"react-test-renderer": "^16.13.1"