create-react-native-app
Advanced tools
Comparing version 2.0.2 to 3.0.0-alpha.1
{ | ||
"name": "create-react-native-app", | ||
"version": "2.0.2", | ||
"version": "3.0.0-alpha.1", | ||
"description": "Create React Native apps with no build configuration.", | ||
@@ -10,8 +10,11 @@ "license": "BSD-3-Clause", | ||
], | ||
"homepage": "https://github.com/react-community/create-react-native-app", | ||
"bugs": "https://github.com/react-community/create-react-native-app", | ||
"preferGlobal": true, | ||
"engines": { | ||
"node": ">=6" | ||
"homepage": "https://github.com/expo/create-react-native-app", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/expo/create-react-native-app.git" | ||
}, | ||
"author": "Expo <support@expo.io>", | ||
"contributors": [ | ||
"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)" | ||
], | ||
"files": [ | ||
@@ -24,28 +27,52 @@ "build" | ||
"scripts": { | ||
"start": "taskr", | ||
"build": "taskr babel" | ||
"prepare": "yarn run clean && yarn run build:prod", | ||
"lint": "eslint .", | ||
"watch": "yarn run build -w", | ||
"build": "ncc build ./src/index.ts -o build/", | ||
"build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register", | ||
"clean": "rimraf ./build/" | ||
}, | ||
"dependencies": { | ||
"babel-runtime": "^6.9.2", | ||
"chalk": "^2.0.1", | ||
"cross-spawn": "^5.1.0", | ||
"fs-extra": "^4.0.0", | ||
"minimist": "^1.2.0", | ||
"path-exists": "^3.0.0", | ||
"semver": "^5.0.3", | ||
"source-map-support": "^0.4.1" | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts}": [ | ||
"eslint --fix", | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@taskr/babel": "^1.0.6", | ||
"@taskr/clear": "^1.0.6", | ||
"@taskr/esnext": "^1.0.0", | ||
"@taskr/shell": "^1.0.6", | ||
"@taskr/watch": "^1.0.6", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-plugin-transform-flow-strip-types": "^6.8.0", | ||
"babel-plugin-transform-runtime": "^6.9.0", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-preset-stage-1": "^6.5.0", | ||
"taskr": "^1.0.6" | ||
"@expo/babel-preset-cli": "0.2.8", | ||
"@expo/json-file": "^8.2.9", | ||
"@expo/package-manager": "^0.0.13", | ||
"@types/fs-extra": "^8.1.0", | ||
"@types/getenv": "^1.0.0", | ||
"@types/js-yaml": "^3.12.3", | ||
"@types/node": "^12.6.8", | ||
"@types/npm-package-arg": "^6.1.0", | ||
"@types/prompts": "2.0.1", | ||
"@types/tar": "4.0.3", | ||
"@zeit/ncc": "^0.20.4", | ||
"chalk": "2.4.2", | ||
"commander": "2.20.0", | ||
"fs-extra": "^9.0.0", | ||
"getenv": "^1.0.0", | ||
"js-yaml": "^3.13.1", | ||
"minipass": "^3.1.1", | ||
"ora": "^4.0.3", | ||
"pacote": "^11.1.4", | ||
"prompts": "2.1.0", | ||
"tar": "^6.0.1", | ||
"terminal-link": "^2.1.1", | ||
"typescript": "3.7.3", | ||
"update-check": "1.5.4", | ||
"eslint": "^6.6.0", | ||
"eslint-config-universe": "^2.1.0", | ||
"husky": "^1.1.3", | ||
"lint-staged": "^8.0.4", | ||
"prettier": "^1.19.0" | ||
} | ||
} |
@@ -1,7 +0,91 @@ | ||
# create-react-native-app | ||
<!-- Title --> | ||
<h1 align="center"> | ||
Create React Native App | ||
</h1> | ||
The README for this package is hosted at https://github.com/react-community/create-react-native-app. | ||
<!-- Header --> | ||
## Development | ||
<p align="center"> | ||
<b>Create React Native apps with no build configuration.</b> | ||
</p> | ||
`yarn && yarn start` will start a watcher that will build artifacts and place them in the build directory. | ||
--- | ||
<!-- Body --> | ||
<p> | ||
<!-- iOS --> | ||
<img alt="Supports Expo iOS" longdesc="Supports Expo iOS" src="https://img.shields.io/badge/iOS-4630EB.svg?style=flat-square&logo=APPLE&labelColor=999999&logoColor=fff" /> | ||
<!-- Android --> | ||
<img alt="Supports Expo Android" longdesc="Supports Expo Android" src="https://img.shields.io/badge/Android-4630EB.svg?style=flat-square&logo=ANDROID&labelColor=A4C639&logoColor=fff" /> | ||
<!-- Web --> | ||
<img alt="Supports Expo Web" longdesc="Supports Expo Web" src="https://img.shields.io/badge/web-4630EB.svg?style=flat-square&logo=GOOGLE-CHROME&labelColor=4285F4&logoColor=fff" /> | ||
</p> | ||
```sh | ||
npx create-react-native-app | ||
``` | ||
Once you're up and running with Create React Native App, visit [this tutorial](https://reactnative.dev/docs/tutorial.html) for more information on building apps with React Native. | ||
## Features | ||
- Native project ready to be built on to your device. | ||
- Support for unimodules and auto-linking. | ||
- OTA updates, and Gestures out of the box. | ||
- Full support for React Native web. | ||
- Works with the Expo Client app. | ||
## Usage | ||
- `npx create-react-native-app` Create a new React Native app. | ||
- `yarn ios` -- (`react-native run-ios`) Build the iOS App (requires a MacOS computer). | ||
- `yarn android` -- (`react-native run-android`) Build the Android App. | ||
- `yarn web` -- (`expo start:web`) Run the website in your browser. | ||
## Sections | ||
- [Usage with Expo Client App](#usage-with-expo-client-app) | ||
- [Support and Contact](#support-and-contact) | ||
- [FAQs](#faqs) | ||
- [Contributing](#contributing) | ||
## Usage with Expo Client App | ||
Expo Client enables you to work with all of the [Components and APIs](https://facebook.github.io/react-native/docs/getting-started.html) in React Native, as well as the [JavaScript APIs](https://docs.expo.io/versions/latest/sdk/index.html) that the are bundled with the Expo App. | ||
Expo Client supports running any project that doesn't have custom native modules added. | ||
- Download the "Expo Client" app from the Play Store or App Store. | ||
- Start your project with Expo | ||
- Install the CLI `npm i -g expo-cli` | ||
- Start the project `expo start` | ||
- Open the project: | ||
- Sign in to expo and the project will appear in the app. | ||
- Or point your phone's camera at the QR code in the terminal (press "c" to view it). | ||
## Support and Contact | ||
If you're having issues with Create React Native App, please make sure: | ||
- The issue is not covered in the [Expo Docs](https://docs.expo.io/versions/latest/) | ||
- There is not already an [open issue](https://github.com/expo/expo-cli/issues) for your particular problem | ||
If you've checked the documentation and currently open issues, please either [open a new GitHub issue](https://github.com/expo/create-react-native-app/issues/new) or ask a question on [Expo forums](https://forums.expo.io/c/help). | ||
## Contributing | ||
Please see [Contributing guide](https://github.com/expo/expo-cli/blob/master/CONTRIBUTING.md) in the Expo CLI monorepo for instructions on contributing to Expo CLI. | ||
<!-- Footer --> | ||
--- | ||
<p> | ||
<a aria-label="sponsored by expo" href="http://expo.io"> | ||
<img src="https://img.shields.io/badge/Sponsored_by-Expo-4630EB.svg?style=for-the-badge&logo=EXPO&labelColor=000&logoColor=fff" target="_blank" /> | ||
</a> | ||
<a aria-label="create-react-native-app is free to use" href="/LICENSE" target="_blank"> | ||
<img align="right" alt="License: MIT" src="https://img.shields.io/badge/License-BSD-3-Clause-success.svg?style=for-the-badge&color=33CC12" target="_blank" /> | ||
</a> | ||
</p> |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1499597
0
5
1
92
0
29
0
1
3
- Removedbabel-runtime@^6.9.2
- Removedchalk@^2.0.1
- Removedcross-spawn@^5.1.0
- Removedfs-extra@^4.0.0
- Removedminimist@^1.2.0
- Removedpath-exists@^3.0.0
- Removedsemver@^5.0.3
- Removedsource-map-support@^0.4.1
- Removedansi-styles@3.2.1(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedcross-spawn@5.1.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedfs-extra@4.0.3(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjsonfile@4.0.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedminimist@1.2.8(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
- Removedsemver@5.7.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedsource-map-support@0.4.18(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removeduniversalify@0.1.2(transitive)
- Removedwhich@1.3.1(transitive)
- Removedyallist@2.1.2(transitive)