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

cordova-runner

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-runner

Create, run, and build cordova apps

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Cordova Runner

Transform html/css/js projects into iOS and Android apps.


Table of contents

  • Status
  • Prerequisites
  • App icons and loading screens
  • Install
  • Setup
  • Usage

Status

Build Status

Prerequisites

Please install

$ sudo apt-get install imagemagick
$ # on Mac: brew install imagemagick
$ # on Windows: http://www.imagemagick.org/script/binary-releases.php#windows (check "Legacy tools")

App icons and loading screens

App icon

  • Your app icon must be a .png file
  • You must name it icon.png
  • It should be square and ideally 512x512px, but no smaller than 192x192px

Loading screen

  • Your app icon must be a .png file

  • You must name it splash.png

  • It should be 2208x2208 px with a center square of about 1200x1200 px.

  • Please copy your icon.png and splash.png to the root of your project before using cordova-runner.

Install

$ npm install -g cordova-runner

Setup

  • cd into your html/css/js project.

    • A generic project structure might look something like this:
    .
    ├── css
    │   ├── style.css
    │   └── theme.css
    ├── img
    │   └── image.png
    ├── js
    │   ├── custom.js
    │   └── theme.js
    ├── about.html
    ├── contact.html
    ├── icon.png
    ├── index.html
    └── splash.png
    
    
    • Note: Your root html must be called index.html. Please rename your root html file if you have to.

Usage:

  1. Run in your terminal:
$ cordova-runner
  1. After that, just follow the prompt.

FAQs

Package last updated on 18 Sep 2017

Did you know?

Socket

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.

Install

Related posts

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