This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem This script configures some settings for command line development with local node_modules | |
@rem Add the node_modules\.bin folder (found with 'npm bin') to the path | |
@cd %~dp0 | |
@for /f %%i in ('npm bin') do set PATH=%%i;%PATH% | |
@rem make sure everything is installed | |
call npm install | |
call bower install | |
call tsd update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Specifies intentionally untracked files to ignore when using Git | |
# http://git-scm.com/docs/gitignore | |
node_modules/ | |
platforms/ | |
plugins/ | |
www/lib/ | |
www/typings/ | |
# Output folders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// | |
// This hook copies various resource files from our version control system directories into the appropriate platform specific location | |
// | |
// From: http://docs.phonegap.com/en/3.5.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens (sizes wrong, corrected below) | |
// - Default-568h@2x~iphone.png (640x1136 pixels) | |
// - Default-Landscape@2x~ipad.png (2048x1536 pixels) | |
// - Default-Landscape~ipad.png (1024x748 pixels) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var bower = require('bower'); | |
var sass = require('gulp-sass'); | |
var minifyCss = require('gulp-minify-css'); | |
var rename = require('gulp-rename'); | |
var sh = require('shelljs'); | |
var typescript = require('gulp-tsc'); | |
var ngAnnotate = require('gulp-ng-annotate'); | |
var uglify = require("gulp-uglify"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var bower = require('bower'); | |
var sass = require('gulp-sass'); | |
var minifyCss = require('gulp-minify-css'); | |
var rename = require('gulp-rename'); | |
var sh = require('shelljs'); | |
var typescript = require('gulp-tsc'); | |
var ngAnnotate = require('gulp-ng-annotate'); | |
var uglify = require("gulp-uglify"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="_reference.ts"/> | |
interface IAppRootScopeService extends ng.IRootScopeService { | |
online: boolean; | |
lastScrollTimestamp: number; | |
isScrolling: () => boolean; | |
onScroll: () => void; | |
} | |
var myApp: ng.IModule = angular.module("angularApp", [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path='../_reference.ts'/> | |
interface IMyControllerScope extends ng.IScope { | |
vm: IMyController; // now our view model (vm) in the scope is typed | |
} | |
interface IMyController { | |
myString: string; | |
myFunction: (arg) => boolean; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path='../_reference.ts'/> | |
module myNameSpace { | |
"use strict"; | |
export class MyServiceClassName { | |
public static $inject = [ | |
"$log" | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path='../../typings/angularjs/angular.d.ts' /> | |
interface IMyDirectiveScope extends ng.IScope { | |
bookmarker: string; | |
} | |
angular.module('directive.bindonce', []) | |
.directive('bindOnce', function () { | |
return { | |
restrict: 'A', | |
scope: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var path = require('path'); | |
var exec = require('child_process').exec; | |
var archiver = require('archiver'); //npm install archiver | |
var prompt = require('prompt'); //npm install prompt | |
var appVersion; | |
var androidStoreVersion; | |
var device; | |
var mode; |
OlderNewer