-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
633b735
commit c9504df
Showing
3 changed files
with
785 additions
and
977 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,3 @@ | ||
module.exports = function(api) { | ||
api.cache(true); | ||
const presets = [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
modules: "auto", | ||
targets: { | ||
browsers: ["defaults"] | ||
}, | ||
useBuiltIns: "entry", | ||
corejs: 2 | ||
} | ||
], | ||
"@babel/preset-flow" | ||
]; | ||
|
||
const plugins = [ | ||
"@babel/plugin-proposal-class-properties" | ||
]; | ||
|
||
return { | ||
presets, | ||
plugins | ||
}; | ||
module.exports = { | ||
presets: ['module:metro-react-native-babel-preset'], | ||
}; |
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 |
---|---|---|
|
@@ -11,13 +11,12 @@ | |
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.21.3", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-flow": "^7.18.6", | ||
"babel-jest": "^29.5.0", | ||
"jest": "^29.5.0", | ||
"jest-environment-node": "^29.5.0", | ||
"node-fetch": "^2.6.0", | ||
"prettier": "^2.0.5", | ||
"metro-react-native-babel-preset": "^0.77.0", | ||
"node-fetch": "^2.7.0", | ||
"prettier": "^2.8.8", | ||
"react-native": "^0.70.0", | ||
"semantic-release": "^24.1.1" | ||
}, | ||
|
@@ -31,7 +30,7 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/flexible-agency/react-native-check-version.git" | ||
"url": "git+https://github.com/tschoffelen/react-native-check-version.git" | ||
}, | ||
"keywords": [ | ||
"react", | ||
|
@@ -44,10 +43,10 @@ | |
"ios", | ||
"android" | ||
], | ||
"author": "Flexible Agency <[email protected]>", | ||
"author": "Thomas Schoffelen <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/flexible-agency/react-native-check-version/issues" | ||
"url": "https://github.com/tschoffelen/react-native-check-version/issues" | ||
}, | ||
"homepage": "https://github.com/flexible-agency/react-native-check-version#readme" | ||
"homepage": "https://github.com/tschoffelen/react-native-check-version#readme" | ||
} |
Oops, something went wrong.