The web changes a lot in a year!
Note: Angular 2 and Ionic 2 are in Beta right now. Things can and probably will be refactored later.
Scaffold V2 is completely re-written from the ground up to use Angular 2 as well as harnessing Ionic 2. The project aims to follow best practices in frontend web development with a component based approach, comprehensive testing (Unit and Behavioural) and the optimization of frontend assets through the proven techniques of concatentation. minification and compression.
There will be automated processes to ensure that your project's data is as contextual as possible both in the domain of semantic markup and data as well as platform integration out of the box. The web isn't just in the browser anymore.
Template configurations are also included to allow you to easily set up things like docker containers, Travis CI buils, IDE configurations and code quality tools.
This project will be published as an NPM module and Yeoman generator to allow for modularity and reusability. The generator will contain options for customizing the architecture of your application.
. +-- app +-- gulp-tasks | +-- css-tasks.js | +-- html-tasks.js | +-- img-tasks.js | +-- js-tasks.js | +-- performance-tasks.js +-- hooks +-- platforms +-- plugins +-- resources +-- tests +-- www +-- .csscomb.json +-- .csslintrc +-- .editorconfig +-- .gitattributes +-- .gitignore +-- .npmignore +-- .travis.yml +-- config.xml +-- gulpfile.js +-- index.html +-- ionic.config.json +-- karma.conf.js +-- package.json +-- protractor.config.js +-- README.md
npm install -g gulp
npm install -g ionic@beta
npm install -g protractor
npm install -g cordova
The majority of build related tasks are executed using the gulp cli tool. For a full list of available commands enter..
The ionic cli tool is also of course available. For a full list of available commands..
Install Protractor globally on your system
npm install -g protractor
The webdriver-manager is a helper tool to easily get an instance of a Selenium Server running. Use it to download the necessary binaries with:
And start the selenium server with..
Ensure the Selenium server is running and the below command should execute the protractor specs.
Install Karma globally on your system
npm install -g karma
You can then run your tests with
This source code has a MIT License.
https://developer.lge.com/webOSTV/develop/web-app/getting-started/building-your-first-web-app-webos-tv/ https://developer.mozilla.org/en-US/Marketplace/Options/Packaged_apps https://developer.chrome.com/apps/about_apps http://yeoman.io/authoring/ http://code.tutsplus.com/tutorials/build-your-own-yeoman-generator--cms-20040 http://lab.ionic.io/ http://www.gajotres.net/ionic-2-tutorial-lets-create-our-first-application/ http://ionic.io/products/creator https://angular.github.io/protractor/#/ https://angular.github.io/protractor/#/