Code Monkey home page Code Monkey logo

hybrid-boilerplate's Introduction

hybrid-boilerplate

Overview

Provides a basic hybrid starter application using Ionic, Webpack and many other technologies. The main goals are to provide a commonjs application structure along with many of the common build tasks required for a project.

Application Libraries:

Build Libraries:

  • Gulp - Build System
  • JSCS - JavaScript Style Checker
  • JSHint - JavaScript Linter
  • webpack - Module Bundler
  • Karma - Test Runner
  • BrowserSync - Browser Testing and Live Reloading
  • Plato - Code Analysis Reporting
  • Dgeni - Documentation Generator
  • GitFlow - Git workflow for managing branching and releases
  • git-promise - Used during build to run git commands
  • conventional-changelog - Automatic changelog generation from git commits
  • gulp-todo - Generates markdown page from TODO messages in source scripts
  • gulp-bump - Increments json versions during release in package.json and bower.json
  • gulp-xml-editor - Increments xml version during release in Cordova config.xml
  • gulp-gh-pages - GitHub gh-pages site generation

The above represents a partial list of some of the libraries used. For a complete list of dependencies, refer to the package.json and bower.json.

Generated Changelog and TODOs

Dependencies

  • git-flow needs to be installed for doing releases

Quick Start

Fork and clone the repository

$ git clone <your_fork>

Install the dependencies

$ npm install

Initialize project settings (TODO)

$ gulp init

Watch Mode (this will watch the webpack bundle and run browser-sync)

$ gulp watch

Release Mode (git flow release, updates versions, docs and gh-pages site)

$ gulp release [--major || --minor]

Optionally a major or minor argument can be passed to represent a major or minor release. By default release will do a patch release incrementing the last part of the version. The version consists of the following parts: MAJOR.MINOR.PATCH. If gulp release is run with no arguments and the version is 1.0.0, it would increment to 1.0.1.

Adding Cordova Plugins

$ cordova plugins add com.ionic.keyboard org.apache.cordova.console org.apache.cordova.device

Adding Cordova Platforms

$ cordova platform add ios

Build

$ gulp && cordova build

Running in the emulator

$ cordova emulate ios

hybrid-boilerplate's People

Contributors

cmackay avatar

Watchers

 avatar  avatar

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.