
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
react-cross-platform-cli
Advanced tools
Command line interface to create a boilerplate for a cross platform react application.
This project servers as a simple command line interface. One can use it to generate a boilerplate project for a cross platform react application.
The following platforms are supported in the boilerplate application:
Install the CLI globally on your machine using npm
:
npm install -g react-cross-platform-cli
The CLI uses yarn
as package manager. You can either install yarn
manually or let the CLI do this for you. (In the future this CLI shall also work using native npm
instead of yarn
.)
To run the CLI simply type
react-cross-platform-cli init
The CLI will ask you for a project name and the platforms you want to use. (Android and iOS are always default, Web and Desktop are optinal.)
The CLI then creates a new folder in your working directory with the boilerplate application.
After that you have multiple options for running your application from the command line, each depending on the device:
npm run andoid
: Runs the application on a virtual Android device. For setup instructions look here.npm run ios
: Runs the application on a virtual iPhone. For setup instructions look here.npm run web
: Runs webpack-dev-server
on port 3000
. You can look at your application via http://localhost:3000.
You have also extended options here, look them up here.npm run desktop
: Runs the application in a new window on your desktop.The single source of truth for all devices is the App-Component located in app.js
. Simply use this as your main component and import all custom components there, then you never should have to actually touch any of the platform-specific files.
FAQs
Command line interface to create a boilerplate for a cross platform react application.
The npm package react-cross-platform-cli receives a total of 0 weekly downloads. As such, react-cross-platform-cli popularity was classified as not popular.
We found that react-cross-platform-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.