Skip to content
Prepare a project for a PhoneGap build by copy files and inject javascript tags into the index file
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README.md
package.json

README.md

Dependency Status devDependency Status

Example

dphonegap.json (dependency)

{
  "copyfiles": [
    "..."
  ],
  "index": "..."
}

package.json (project)

{
  "scripts": {
    "postinstall": "dphonegap %dependency%"
  },
  "dependencies": {
    "%dependency%": ""
  }
}

dphonegap.json (project)

{
  "javascripts": [ "cordova.js" ]
}
You can’t perform that action at this time.