
Security News
Risky Biz Podcast: AI Agents Are Raising the Stakes for Software Supply Chain Security
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.
generator-m
Advanced tools
Build mobile Cordova/PhoneGap apps quickly with the tools you love: Yeoman, Gulp, Bower, AngularJS, Ionic & of course Cordova all in one sexy generator.
Your technology stack:
Additionally we use:
node >= 0.10.0 & npm >= 1.4.3
gem install sass -v 3.4.5 --ri-docyeoman - if you don't have it already - http://yeoman.io/
npm install -g yo
generator-m
npm install -g generator-m
create new directory - and cd into it. Note: the generator needs an empty directory when you call it
mkdir myApp && cd $_
run the generator - and follow the instructions
yo m
IMPORTANT: Cordova needs an empty directory to work. Please run any other setup (e.g. git init) after running yo m.
gulp watch - start livereload and watch for changes in files. Automatically injects deps into index.html and opens your default browsers
gulp watch
gulp build - build your assets into www, cleans before every build
gulp build
gulp serve-build - serve version from www
gulp serve-build
gulp --cordova - local wrapper for cordova cli (won't use global install to be compatible with generated project)
#arbitrary cordova command
gulp --cordova 'plugin ls'
gulp config - manage project configuration
gulp config --setVersion=1.1.0 --setBuild=12 --setBundle=com.new.bundle
yo m:controller <name>
yo m:partial <name>
yo m:service <name>
For now we provide a rudimentary jenkins.sh template that can be configured to build your projects with jenkins.
yo m --skip-sdk # skip adding cordova platforms and plugins (sdk-specific) for travis
yo m --appName='App Name' # set appName via CLI
yo m --skip-welcome-message # skips welcome message
yo m --skip-prompts # for debugging purposes, run with predefined answers
yo m --skip-install # for debugging purposes, no npm and bower install
gulp watch
will run your tests while you develop
npm test
will run gulp test
Code licensed under MIT. Docs under Apache 2. PhoneGap is a trademark of Adobe.
FAQs
generator-m
The npm package generator-m receives a total of 42 weekly downloads. As such, generator-m popularity was classified as not popular.
We found that generator-m demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.