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

uhray-app-scripts

v1.0.29

Published

This cli provide script functionality that we can use across all of our projects.

Downloads

49

Readme

Uhray App Scripts

This cli provide script functionality that we can use across all of our projects.

To install the CLI cloball, you run npm install -g uhray-app-scripts, then you can try:

$ uhray-app-scripts

  Usage: index [options] [command]

  Options:

    -v, --version                 output the version number
    -h, --help                    output usage information

  Commands:

    configure                     configure repo
    ionic_after_build [options]   Handle post build
    ionic_before_build [options]  Prepare everything before platform is added
    ionic_build [options]         Build IPA/APK
    ionic_post_install            Prepare everything in a local repository after install

However, more likely you will install in your project (npm install --save-dev uhray-app-scripts). Then you may configure your package.json file to use this. You'll also need to set up a .uhray-app-scripts.json file.

Platforms:

Ionic

There are four main commands related to ionic:

  • ionic_build - this allows you to build the app on our C.I. so you don't need to maintain necessary binaries on your machine.
  • ionic_before_build - This runs in the C.I. before build and does the following:
      1. Updates the app icon to have a version banner
      1. Installs all cordova modules
  • ionic_after_build - This updates our delivery URL for clients if the build is from master.
  • ionic_post_install - Copies our custom Ionic Generators so running the ionic generate command inserts code in our format.

Configuring for Ionic

Step 1 setting up the .uhray-app-scripts.json file:

The minimum requirements are below. There are some other undocumented configs we may expose later.

{
  "bitrise": {
    "app": "<<Bitrise App Id>>",
    "token": "<<Bitrise build token>>"
    "fullToken": "Bitrise full token>>",
    "build": {
      "dev": {
        "ios_code_signing": "<<ios code signing for dev... full name, not just ID>>"
        "ios_provisioning_profile": "<<dev ios provisioning profile>>"
      }
    }
  }
}

Step 2 adding commands to the packaing.json "scripts" section:

For example:

    "build:dev:ios": "uhray-app-scripts ionic_build --platform ios",
    "build:dev:android": "uhray-app-scripts ionic_build --platform android",
    "ionic_before_build": "uhray-app-scripts ionic_before_build",
    "ionic_after_build": "uhray-app-scripts ionic_after_build",
    "postinstall": "uhray-app-scripts ionic_post_install"

Angular

// coming soon

APIs

// coming soon