npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cordova-deploy

v0.0.1

Published

Command line tools to help deploy Cordova applications to users

Downloads

3

Readme

cordova-deploy

Command line tools to help deploy your Cordova application to your users.

Installation

npm install -g cordova-deploy

Application Config

Ensure you have your Cordova config.xml file in the same directory where you run the cordova-deploy command.

Building & Deploying to HockeyApp

First ensure you have a HockeyApp account with an active App ID (one for each platform, android/iOS) and an active API Key.

You can specify the api key, ios app id, and android app id from the command line with their proper parameters.

To build and deploy the cordova iOS application to HockeyApp, run the following command in your shell with the following parameters: cordova-deploy --build --ios --hockey --apikey some_api_key --iosid some_ios_app_id

There is a second option, in the root level of your project, add a file named hockey.json that looks something like this:

{
	"api_key": "some_api_key",
	"android_app_id": "some_android_app_id",
	"ios_app_id": "some_ios_app_id"
}

NOTE: you may want to add the hockey.json file to your .gitignore as to avoid making it public.

Then your command to build and deploy looks more like this:

cordova-deploy --build --ios --hockey

Building & Deploying to TestFlight (iOS Only)

First ensure you have a TestFlight account with an active API Token and Team Token.

You can specify the API Token and Team Token from the command line:

To build and deploy the cordova iOS application to TestFlight, run the following command in your shell with the following parameters: cordova-deploy --build --ios --testflight --apitoken some_api_token --teamtoken some_team_token

There is a second option, in the root level of your project, add a file named testflight.json that looks something like this:

{
	"api_token": "some_api_token",
	"team_token": "some_team_token"
}

NOTE: you may want to add the testflight.json file to your .gitignore as to avoid making it public.

Then your command to build and deploy looks more like this:

cordova-deploy --build --ios --testflight

Additional Information

This project was inspired by Mattt Thompson's Nomad-CLI tools for iOS. I wanted a flavor that I could use for my Cordova projects and give me flexibility to go to TestFlight, HockeyApp, and other destinations in the future.

Enjoy!