install.js
function fixAngularPackage() {
    var packageJSON = {}, packageFile = '../../../package.json';
    if (fs.existsSync(packageFile)) {
        packageJSON = require(packageFile);
    } else {
        console.log("This should not happen, your are missing your main package.json file!");
        return;
    }

    if (!packageJSON.scripts) {
        packageJSON.scripts = {};
    }

    packageJSON.scripts["start.ios"] = "cd nativescript && tns emulate ios";
    packageJSON.scripts["start.livesync.ios"] = "cd nativescript && tns livesync ios --emulator --watch";
    packageJSON.scripts["start.android"] = "cd nativescript && tns emulate android";
    packageJSON.scripts["start.livesync.android"] = "cd nativescript && tns livesync android --emulator --watch";

    fs.writeFileSync(packageFile, JSON.stringify(packageJSON, null, 4), 'utf8');
}
function fixAngularPackage() {
    var packageJSON = {}, packageFile = '../../../package.json';
    if (fs.existsSync(packageFile)) {
        packageJSON = require(packageFile);
    } else {
        console.log("This should not happen, your are missing your main package.json file!");
        return;
    }

    if (!packageJSON.scripts) {
        packageJSON.scripts = {};
    }

    packageJSON.scripts["start.ios"] = "cd nativescript && tns emulate ios";
    packageJSON.scripts["start.livesync.ios"] = "cd nativescript && tns livesync ios --emulator --watch";
    packageJSON.scripts["start.android"] = "cd nativescript && tns emulate android";
    packageJSON.scripts["start.livesync.android"] = "cd nativescript && tns livesync android --emulator --watch";

    fs.writeFileSync(packageFile, JSON.stringify(packageJSON, null, 4), 'utf8');
}
Fix the Angular Package