Giter Site home page Giter Site logo

a1626 / generator-polymer-init-cordova-1.x Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 17 KB

Polymer cli template for cordova.

Home Page: https://www.npmjs.com/package/generator-polymer-init-cordova-2.x

License: MIT License

JavaScript 64.99% HTML 35.01%
polymer yeoman yeoman-generator polymer-cli template node-module

generator-polymer-init-cordova-1.x's Introduction

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

generator-polymer-init-cordova-1.x's People

Contributors

a1626 avatar

Watchers

 avatar  avatar  avatar

generator-polymer-init-cordova-1.x's Issues

Option for proxy.

How about adding options to configure proxies like bowerrc and npmrc for people behind firewall?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.