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

generator-polymer-init-cordova-1.x

v1.0.2

Published

Polymer cli generator for cordova app

Downloads

13

Readme

npm-image License

generator-polymer-init-cordova-1.x

Polymer cli template for cordova. As name suggests template is for Polymer 1.x applications.

Pre-requisites

Installation and Usage

This package is a template for polymer-cli and hence needs to be used along with same.

  • To install the package use npm (Prefer installing the package globally).
    npm install -g generator-polymer-init-cordova-1.x
  • Then in the directory where you want to create a new project use polymer init command and you will find a new package named cordova-1.x.
  • Choose the package and you will be asked for some configurations in order to start your project.

Structure

 .
 ├── .bowerrc
 ├── .gitconfig
 ├── bower.json
 ├── config.xml
 ├── hooks
 │     └── Readme.md
 ├── platforms
 └── www
      ├── index.html
      ├── images
      │    └── fav.ico
      └── src
           └── my-app.html
      

Options

This project offers following options for user to configure directly from command line. Please note most of the default values are used from cordova.

  • Project Name: Name of the new project to create (defaults to the folder name).
  • Shell Name: Name of the main shell of the app (defaults to my-app).
  • Cordova package: Package name to configure for cordova app (defaults to org.apache.cordova.<project name>).
  • Advance cordova configuration: User will be provided option to further configure cordova. These configurations can be skipped (default values will be used in this case). Below are the six configurations that user can choose to opt out of:  
    • Description: A short description for the project. Same description is also used for bower.json (defaults to A sample Apache Cordova application that responds to the deviceready event.).

    • Version: Initial version of the project for cordova and bower config (defaults to 1..0.0).

    • Authors: Name of author/s contributing in app (defaults to Apache Cordova Team).

    • Author's email: Email address for of contributing author/s (defaults to [email protected]).

    • Author's href: Web page to check author's details or to reach out to them (defaults to http://cordova.io).

    • Platforms: Platforms for which cordova app needs to be configured. Following platforms are configurable

      • android: Default true.
      • ios: Default true.
      • blackberry10: Default false.
      • browser: Default false.
      • firefoxos: Default false.
      • osx: Default false.
  • Proxy: In case you are behind a firewall you can choose to configure proxy for git and bower using this option.
    • http: http proxy value.
    • https: https proxy value (defaults to same value and that for http).

License

MIT © Abhishek Gupta