Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

cordova-sync

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-sync

Respond to file changes and build Cordova application

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

Cordova Sync

Respond to file changes and build Cordova application

Installation

npm install cordova-sync -g

Setup

Web Project

Must specify a csync script inside of package.json

npm run csync

cordova-sync expects that this script will compile any source code from the ./src directory into the ./dist directory

Cordova Project

This project has the plugins and platform set in a config the web project is responsible for the UI

Dependencies

xcode-select --install

Usage

cordova-sync [path_to_app] [options]

Options

OptionDescriptionDefault
[path_to_app]The relative path to the Cordova Project(Required)
-w, --watchIf present the package will watch src directory and rebuild on file changefalse
-s, --src [path_to_src]The relative path to the source code in your web directory (default: src)src
-d, --dist [path_to_dist]The relative path to the distribution code in your web directory (default: dist)dist
-p, --physicalBuild the app onto a physical devicefalse

Notes

  • XCode Command line tools are required in order to build the script
  • When building to a physical device the Provisioning Profile must be set in XCode before the app can build
  • iOS Platform Version 4.3.1 is required to build onto the physical device

Keywords

cordova

FAQs

Package last updated on 05 May 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