Skip to content

Commit

Permalink
feat: package info
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoffelen committed Sep 25, 2024
1 parent 633b735 commit c9504df
Show file tree
Hide file tree
Showing 3 changed files with 785 additions and 977 deletions.
27 changes: 2 additions & 25 deletions babel.config.js
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'],
};
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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",
Expand All @@ -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"
}
Loading

0 comments on commit c9504df

Please sign in to comment.