Socket
Socket
Sign inDemoInstall

react-native-cli

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-cli - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

8

index.js

@@ -216,7 +216,7 @@ #!/usr/bin/env node

function run(root, projectName, rnPackage) {
exec('npm install --save ' + getInstallPackage(rnPackage), function(e, stdout, stderr) {
exec('npm install --save --save-exact ' + getInstallPackage(rnPackage), function(e, stdout, stderr) {
if (e) {
console.log(stdout);
console.error(stderr);
console.error('`npm install --save react-native` failed');
console.error('`npm install --save --save-exact react-native` failed');
process.exit(1);

@@ -233,6 +233,6 @@ }

function runVerbose(root, projectName, rnPackage) {
var proc = spawn('npm', ['install', '--verbose', '--save', getInstallPackage(rnPackage)], {stdio: 'inherit'});
var proc = spawn('npm', ['install', '--verbose', '--save', '--save-exact', getInstallPackage(rnPackage)], {stdio: 'inherit'});
proc.on('close', function (code) {
if (code !== 0) {
console.error('`npm install --save react-native` failed');
console.error('`npm install --save --save-exact react-native` failed');
return;

@@ -239,0 +239,0 @@ }

{
"name": "react-native-cli",
"version": "0.2.0",
"version": "1.0.0",
"license": "BSD-3-Clause",

@@ -5,0 +5,0 @@ "description": "The React Native CLI tools",

@@ -13,4 +13,8 @@ ## Running CLI with local modifications

Then, open `~/.config/sinopia/config.yaml` and configure it like this (note the `max_body_size`):
Now you can run sinopia by simply doing:
$ sinopia
Running it for the first time creates a default config file. Open `~/.config/sinopia/config.yaml` and configure it like this (note the `max_body_size`):
storage: ./storage

@@ -44,6 +48,4 @@

Now you can run sinopia by simply doing:
Remember to restart sinopia afterwards.
$ sinopia
### Publishing to sinopia

@@ -104,3 +106,3 @@

$ npm install -g sinopia
After upgrading to Node 4 you might also need to reinstall npm. What worked for me was:

@@ -110,3 +112,3 @@

$ nvm install npm
See the [nvm guide](https://github.com/creationix/nvm#usage) for more info.

@@ -113,0 +115,0 @@

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