Create a new Cordova Application. Extra config: folder, bundleId, platforms and plugins.
npm install grunt-phonegap-project> Create a new Cordova Application. Extra config: folder, bundleId, platforms and plugins.
  

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
``shell`
npm install grunt-phonegap-project --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js`
grunt.loadNpmTasks('grunt-phonegap-project');
#### Platform SDK
To add support or rebuild a project for any platform, you need from the same machine that supports the platform's SDK.
#### Cordova
`shell`
npm install cordova -g
#### options.path
Type: String, Default: build
Path to install the new app.
#### options.title
Type: String, Default: MyyApp
#### options.bundleId
Type: String, Default: de.myylinks.myyapp
Unique identifier Package name for all Android Apps.
#### options.platforms
Type: Array, Default: []
#### options.plugins
Type: Array, Default: []
#### options.deleteOptionsPath
Type: Boolean, Default: false
Info: For create a new app need an empty folder.
WARNING: If true they are delete folder of options.path.
to the data object passed into grunt.initConfig().
Full Examples
`js
grunt.initConfig({
phonegap_project: {
app_1: {
options: {
deleteOptionsPath: true,
path: "buildfolder",
platforms: [
"browser",
"android"
],
plugins: [
"cordova-plugin-battery-status",
"cordova-plugin-camera"
]
}
}
}
});
grunt.registerTask('phonegap: create new app', ['phonegap_project:app_1']);
``##### 2017-02-22 v0.1.5
* update grunt to 1.0.1
* add multitasking
* clean project
##### 2017-02-22 v0.1.4
* update
##### 2014-08-14 v0.1.3
* update grunt to 0.4.5
* add lodash
* add new variable deleteOptionsPath
* bugfixes
##### 2014-05-23 v0.1.2
* bugfix some grunt functions
* add travis
##### 2014-05-22 v0.1.1
* clean project for public
##### 2014-04-24 v0.1.0
* add some defaults cordova commands