-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching from AsyncStorage to react-native-async-storage (based on #54…
…) (#55) * Updated react native dependencies. * Updated babel dependencies. Removed the caret from react and react-native beacause of incorrect peer dependencies. * Changed from .babelrc to babel.config.js (based on facebook/react-native#21075). * Add mock prefix to allow out of scope referencing (jestjs/jest#2567) * Mock the async-storage module. * Added explanation to README. * Changed version to 2.0.0 as it is a breaking change.
- Loading branch information
Showing
8 changed files
with
4,894 additions
and
4,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module.exports = (api) => { | ||
api.cache(true); | ||
|
||
return { | ||
presets: [ | ||
"@babel/preset-env", | ||
"@babel/preset-react", | ||
"@babel/preset-flow" | ||
], | ||
plugins: [ | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-export-default-from" | ||
] | ||
} | ||
}; |
Oops, something went wrong.