{
    "name": "phonegap-app",
    "description": "PhoneGap mobile app.",
    "homepage": "http://github.com/nitobi/phonegap-app",
    "repository": {
        "type": "git",
        "url": "git://github.com/nitobi/phonegap-app.git"
    },
    "preferGlobal": "false",
    "private": "true",
    "scripts": {
        "less": "lessc -x www/css/app.less > www/css/app.css"
    },
    "dependencies": {
    },
    "devDependencies": {
        "less": "1.6.0"
    }
}

{
    "name": "phonegap-app",
    "description": "PhoneGap mobile app.",
    "homepage": "http://github.com/nitobi/phonegap-app",
    "repository": {
        "type": "git",
        "url": "git://github.com/nitobi/phonegap-app.git"
    },
    "preferGlobal": "false",
    "private": "true",
    "scripts": {
        "less": "lessc -x www/css/app.less > www/css/app.css"
    },
    "dependencies": {
    },
    "devDependencies": {
        "less": "1.6.0",
        "phonegap": "3.2.0-0.17.1"
    }
}

Install phonegap as dev dependency.
[npm] Install phonegap as dev dependency.
