{"id":18307450,"url":"https://github.com/devgeeks/examplemobiledevworkflow","last_synced_at":"2025-04-09T11:21:53.388Z","repository":{"id":6396753,"uuid":"7634748","full_name":"devgeeks/ExampleMobileDevWorkflow","owner":"devgeeks","description":"An example of a mobile dev workflow","archived":false,"fork":false,"pushed_at":"2013-01-19T11:25:39.000Z","size":10753,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T05:24:20.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devgeeks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-15T22:39:29.000Z","updated_at":"2016-11-09T07:33:33.000Z","dependencies_parsed_at":"2022-07-19T08:47:24.050Z","dependency_job_id":null,"html_url":"https://github.com/devgeeks/ExampleMobileDevWorkflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgeeks%2FExampleMobileDevWorkflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgeeks%2FExampleMobileDevWorkflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgeeks%2FExampleMobileDevWorkflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgeeks%2FExampleMobileDevWorkflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devgeeks","download_url":"https://codeload.github.com/devgeeks/ExampleMobileDevWorkflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027808,"owners_count":21035669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T16:04:17.369Z","updated_at":"2025-04-09T11:21:53.358Z","avatar_url":"https://github.com/devgeeks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Mobile Dev Workflow\n\n[![Build Status](https://travis-ci.org/devgeeks/ExampleMobileDevWorkflow.png?branch=master)](https://travis-ci.org/devgeeks/ExampleMobileDevWorkflow)\n\n## Requirements\n\n- Cordova CLI - [https://github.com/apache/cordova-cli/](https://github.com/apache/cordova-cli/)\n\t- Cordova / PhoneGap command line interface\n- Bower - [http://twitter.github.com/bower/](http://twitter.github.com/bower/)\n\t- Component package manager for js/css libraries\n- Grunt - [http://gruntjs.com/](http://gruntjs.com/)\n\t- Build tool for minimising, running and tests\n- Node and npm - [http://nodejs.org/](http://nodejs.org/)\n\t- Node package manager for Grunt Add-ons\n- PhantomJS - [http://phantomjs.org/](http://phantomjs.org/)\n\t- Headless webkit for running tests\n\n## Getting started\n\n- clone the project\n- cd into the project folder\n- `npm install` to install any node_modules\n- `bower install` to install any js/css components\n- `cordova platform add ios` and/or `cordova platform add android`\n\n## First test\n\nTo make sure everything is set up from the above, run your first tests\n\nRun `grunt test` - This will lint the source (`grunt lint`), concat the source into a single js file (`grunt concat`) and finally run the headless Jasmine tests (`grunt jasmine`).\n\n## Workflow\n\nJavaScript files are in `src`. They are kept out of the www tree so that they can be linted without trying to lint the concatenated and minified versions. However, the index.html should have a script tag only for the JavaScript files in either `www/components` (managed by Bower) or `www/js`.\n\nBuilding and testing the project is normally done via the Grunt tasks below.\n\n## Grunt tasks\n\n`grunt lint`\n\n- runs JSHint on the src files `src/**/*.js`\n\n`grunt concat`\n\n- concatenates the src files in `src/models/*.js`, `src/collections/*.js`, `src/views/*.js` and `src/app.js` (in that order) into `www/js/\u003cpackage-name-from-package.json\u003e.js`\n\n`grunt min`\n\n- minifies `www/js/\u003cpackage-name-from-package.json\u003e.js` into `www/js/\u003cpackage-name-from-package.json\u003e.min.js` (so should only be called after calling `grunt concat` above)\n\n`grunt jasmine`\n\n- runs Jasmine tests in `www/spec/**/*.js` based on the template `www/spec/SpecRunner.html`\n\n`grunt watch`\n\n- starts watching the same files as `grunt lint` as well as the files from `grunt jasmine` and when changes are detected runs `lint concat jasmine`\n\n#### Custom tasks\n\n`grunt` (default tasks)\n\n- runs `lint concat min jasmine`\n\n`grunt test`\n\n- runs `lint concat jasmine`\n\n`grunt debug_ios`\n\n- runs `lint concat shell:debug_ios` to debug iOS platform on the simulator\n\n`grunt debug_android`\n\n- runs `lint concat shell:debug_android` to debug Android platform on the emulator (or a plugged in device)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgeeks%2Fexamplemobiledevworkflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevgeeks%2Fexamplemobiledevworkflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgeeks%2Fexamplemobiledevworkflow/lists"}