nebelpro / ionic2-seed

Ionic 2 Seed with TypeScript + Karma + Protractor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ionic 2 seed

This is a seed of Ionic 2 with TypeScript + Karma + Protractor.

Table of Contents

Getting Started

  • Clone this repository.
  • Install the ionic CLI and Cordova CLI (npm install -g ionic cordova)
  • Run npm install from the project root.
  • Run npm start in a terminal from the project root.
  • Profit.

Note: Is your build slow? Update npm to 3.x: npm install -g npm.

Run in browser

npm start         # deploys the the browser

Run in Android

# make sure the Android device is connected and available to ADB

npm run android   # deploys the app to an Android device

Run in iOS

# make sure the iOS device is connected

npm run ios       # deploys the app to an iOS device

Run Unit Tests

npm test          # run unit tests

Run E2E

# e2e (aka. end-to-end, integration) - In two different shell windows
# Make sure you don't have a global instance of Protractor

npm start
npm run e2e

Contribute

Issues and PRs are welcome, see the issues list.

About

Ionic 2 Seed with TypeScript + Karma + Protractor

License:Apache License 2.0


Languages

Language:TypeScript 46.7%Language:CSS 21.1%Language:JavaScript 17.8%Language:HTML 14.3%