forked from vergnet/application-amicale
Updated package to use flow as dev dependency
This commit is contained in:
parent
64c69fed47
commit
0db000f602
2 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
module.exports = function(api) {
|
module.exports = function(api) {
|
||||||
api.cache(true);
|
api.cache(true);
|
||||||
return {
|
return {
|
||||||
presets: ['babel-preset-expo'],
|
presets: ['babel-preset-expo', '@babel/preset-flow'],
|
||||||
env: {
|
env: {
|
||||||
production: {
|
production: {
|
||||||
plugins: ['react-native-paper/babel'],
|
plugins: ['react-native-paper/babel'],
|
||||||
|
|
|
@ -52,7 +52,11 @@
|
||||||
"react-native-webview": "7.4.3"
|
"react-native-webview": "7.4.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/cli": "^7.8.4",
|
||||||
|
"@babel/core": "^7.9.0",
|
||||||
|
"@babel/preset-flow": "^7.9.0",
|
||||||
"babel-preset-expo": "^8.0.0",
|
"babel-preset-expo": "^8.0.0",
|
||||||
|
"flow-bin": "^0.122.0",
|
||||||
"jest": "^25.1.0",
|
"jest": "^25.1.0",
|
||||||
"jest-extended": "^0.11.5",
|
"jest-extended": "^0.11.5",
|
||||||
"react-test-renderer": "^16.13.1"
|
"react-test-renderer": "^16.13.1"
|
||||||
|
|
Loading…
Reference in a new issue