This is a seed of Ionic 2 with TypeScript + Karma + Protractor.
- 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
.
npm start # deploys the the browser
# make sure the Android device is connected and available to ADB
npm run android # deploys the app to an Android device
# make sure the iOS device is connected
npm run ios # deploys the app to an iOS device
npm test # run unit tests
# 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
Issues and PRs are welcome, see the issues list.