Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-eject

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-eject - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

dist/copyAndReplace.d.ts

26

package.json
{
"name": "react-native-eject",
"version": "0.1.2",
"version": "0.2.0",
"description": "Single command to eject a React Native app",
"main": "index.js",
"main": "dist/eject.js",
"types": "dist/eject.d.ts",
"scripts": {
"build": "NODE_ENV=production babel ./eject.js -d ./build"
"build": "tsc",
"lint": "eslint ."
},
"repository": {
"type": "git",
"url": "https://github.com/ramyareye/react-native-eject.git"
},
"keywords": [

@@ -22,8 +28,12 @@ "react-native",

"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1"
"@react-native-community/cli": "^9.3.2",
"@types/node": "^18.11.10",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.0",
"typescript": "^4.7.3"
}
}

@@ -6,5 +6,5 @@ module.exports = {

description: 'Re-create the iOS and Android folders and native code',
func: () => require('./build/eject.js')
func: () => require('./dist/eject.js'),
},
],
};

@@ -1,13 +0,40 @@

# react-native-eject
Command `eject` was a part of `create-react-native-app` but as talked [here](https://github.com/react-native-community/cli/pull/275) it was removed.
Then according to [this discussion](https://github.com/facebook/react-native/issues/25526) I made a copy of removed code and here we have the eject command again :)
## Getting started
`$ yarn add react-native-eject`
```sh
yarn add react-native-eject
react-native eject
```
`$ react-native eject`
## Compatibility
License
----
| `react-native-eject` | `@react-native-community/cli` | `react-native` |
| -------------------- | ---------------------------------------------------------------- | -------------- |
| ^0.2.0 | [^9.0.0](https://github.com/react-native-community/cli/tree/9.x) | ^0.70.0 |
| ^0.1.2 | [^8.0.0](https://github.com/react-native-community/cli/tree/8.x) | ^0.69.0 |
## What Next?
Here is a list of related and helpful links after ejecting a react-native project
- [react-native-rename] - Rename react-native app with just one command
- [react-native-app-id] - Cross platform approach to setting a bundle ID
- [rename-your-xcode-project] - (iOS) Article
- [rename-an-xcode-project] - (iOS) Stack Overflow Question
- [change-the-bundle-identifier] - Stack Overflow Question
- [app-icon] - Icon management for Mobile Apps
- [android-asset-studio] - A collection of tools to easily generate Android assets
MIT
[react-native-rename]: https://github.com/junedomingo/react-native-rename
[react-native-app-id]: https://github.com/kyle-ssg/react-native-app-id
[rename-your-xcode-project]: https://medium.com/@KentaKodashima/ios-rename-your-xcode-project-b02b0382830
[rename-an-xcode-project]: https://stackoverflow.com/a/35500038/3197080
[change-the-bundle-identifier]: https://stackoverflow.com/a/44481467/3197080
[app-icon]: https://github.com/dwmkerr/app-icon
[android-asset-studio]: https://romannurik.github.io/AndroidAssetStudio/
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc