1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

changing tsd to typings

This commit is contained in:
Braun Patrik 2016-03-14 11:07:08 +01:00
parent d5204792f0
commit 273c4a8f9a
17 changed files with 31 additions and 51 deletions

View File

@ -1,4 +1,4 @@
///<reference path="../typings/tsd.d.ts"/> ///<reference path="../typings/main.d.ts"/>
import * as _socketIo from 'socket.io'; import * as _socketIo from 'socket.io';

View File

@ -1,4 +1,4 @@
///<reference path="../typings/tsd.d.ts"/> ///<reference path="../typings/main.d.ts"/>
import * as _express from 'express'; import * as _express from 'express';
import * as _debug from 'debug'; import * as _debug from 'debug';

View File

@ -1,4 +1,4 @@
/// <reference path="../typings/tsd.d.ts"/> /// <reference path="../typings/main.d.ts"/>
export class Utils { export class Utils {

View File

@ -1,4 +1,4 @@
///<reference path="../../typings/tsd.d.ts"/> ///<reference path="../../typings/main.d.ts"/>
function isFunction(functionToCheck) { function isFunction(functionToCheck) {
var getType = {}; var getType = {};

View File

@ -1,4 +1,4 @@
///<reference path="../../typings/tsd.d.ts"/> ///<reference path="../../typings/main.d.ts"/>
export class Event2Args<T,M> { export class Event2Args<T,M> {
private handlers: { (data?: T,data2?: M): void; }[] = []; private handlers: { (data?: T,data2?: M): void; }[] = [];

View File

@ -1,4 +1,4 @@
///<reference path="../../typings/tsd.d.ts"/> ///<reference path="../../typings/main.d.ts"/>
export class EventLimit<T> { export class EventLimit<T> {

View File

@ -1,4 +1,4 @@
///<reference path="../../typings/tsd.d.ts"/> ///<reference path="../../typings/browser.d.ts"/>
import { Component } from 'angular2/core'; import { Component } from 'angular2/core';
import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from 'angular2/router'; import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from 'angular2/router';

View File

@ -1,4 +1,4 @@
///<reference path="../../../typings/tsd.d.ts"/> ///<reference path="../../../typings/browser.d.ts"/>
import { Component } from 'angular2/core'; import { Component } from 'angular2/core';

View File

@ -1,4 +1,4 @@
///<reference path="../../../typings/tsd.d.ts"/> ///<reference path="../../../typings/browser.d.ts"/>
import { Component, OnInit } from 'angular2/core'; import { Component, OnInit } from 'angular2/core';
import {LoginCredential} from '../../../common/entities/LoginCredential'; import {LoginCredential} from '../../../common/entities/LoginCredential';

View File

@ -1,4 +1,4 @@
///<reference path="../../../typings/tsd.d.ts"/> ///<reference path="../../../typings/browser.d.ts"/>
import { import {
it, it,

View File

@ -1,4 +1,4 @@
///<reference path="../../../typings/tsd.d.ts"/> ///<reference path="../../../typings/browser.d.ts"/>
import {Injectable} from 'angular2/core'; import {Injectable} from 'angular2/core';
import {NetworkService} from "../model/network.service"; import {NetworkService} from "../model/network.service";

View File

@ -1,4 +1,4 @@
///<reference path="../../../typings/tsd.d.ts"/> ///<reference path="../../../typings/browser.d.ts"/>
import * as io from 'socket.io-client'; import * as io from 'socket.io-client';
import {Injectable} from 'angular2/core'; import {Injectable} from 'angular2/core';

View File

@ -1,4 +1,4 @@
///<reference path="../../../typings/tsd.d.ts"/> ///<reference path="../../../typings/browser.d.ts"/>
import * as io from 'socket.io-client'; import * as io from 'socket.io-client';
import {Injectable} from 'angular2/core'; import {Injectable} from 'angular2/core';

View File

@ -1,4 +1,4 @@
///<reference path="../typings/tsd.d.ts"/> ///<reference path="../typings/browser.d.ts"/>
import { bootstrap } from 'angular2/platform/browser'; import { bootstrap } from 'angular2/platform/browser';
import {AppComponent} from "./app/app.component.ts"; import {AppComponent} from "./app/app.component.ts";

View File

@ -7,8 +7,8 @@
"homepage": "https://github.com/bpatrik/PiGallery2", "homepage": "https://github.com/bpatrik/PiGallery2",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "tsd reinstall && webpack frontend/webpack.config.js -P && tsc -p backend", "build": "typings install && webpack frontend/webpack.config.js -P && tsc -p backend",
"pretest": "tsd reinstall", "pretest": "typings install",
"test": "karma start ./karma.conf.js", "test": "karma start ./karma.conf.js",
"start": "node ./backend/server" "start": "node ./backend/server"
}, },
@ -60,8 +60,7 @@
"source-map-loader": "^0.1.5", "source-map-loader": "^0.1.5",
"style-loader": "^0.13.0", "style-loader": "^0.13.0",
"ts-helper": "0.0.1", "ts-helper": "0.0.1",
"ts-node": "^0.5.5", "ts-node": "^0.6.1",
"tsd": "^0.6.5",
"tslint": "^3.5.0", "tslint": "^3.5.0",
"tslint-loader": "^2.1.3", "tslint-loader": "^2.1.3",
"typedoc": "^0.3.12", "typedoc": "^0.3.12",

View File

@ -1,33 +0,0 @@
{
"version": "v4",
"repo": "borisyankov/DefinitelyTyped",
"ref": "master",
"path": "typings",
"bundle": "typings/tsd.d.ts",
"installed": {
"express/express.d.ts": {
"commit": "0d622d857f97d44ea7dcad2b3edec1f23c48fe9e"
},
"node/node.d.ts": {
"commit": "0d622d857f97d44ea7dcad2b3edec1f23c48fe9e"
},
"debug/debug.d.ts": {
"commit": "0d622d857f97d44ea7dcad2b3edec1f23c48fe9e"
},
"mime/mime.d.ts": {
"commit": "0d622d857f97d44ea7dcad2b3edec1f23c48fe9e"
},
"serve-static/serve-static.d.ts": {
"commit": "0d622d857f97d44ea7dcad2b3edec1f23c48fe9e"
},
"socket.io/socket.io.d.ts": {
"commit": "d22516f9f089de107d7e7d5938566377370631f6"
},
"socket.io-client/socket.io-client.d.ts": {
"commit": "d22516f9f089de107d7e7d5938566377370631f6"
},
"jasmine/jasmine.d.ts": {
"commit": "d22516f9f089de107d7e7d5938566377370631f6"
}
}
}

14
typings.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "PiGallery2",
"version": false,
"ambientDependencies": {
"express": "github:DefinitelyTyped/DefinitelyTyped/express/express.d.ts#0d622d857f97d44ea7dcad2b3edec1f23c48fe9e",
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#0d622d857f97d44ea7dcad2b3edec1f23c48fe9e",
"debug": "github:DefinitelyTyped/DefinitelyTyped/debug/debug.d.ts#0d622d857f97d44ea7dcad2b3edec1f23c48fe9e",
"mime": "github:DefinitelyTyped/DefinitelyTyped/mime/mime.d.ts#0d622d857f97d44ea7dcad2b3edec1f23c48fe9e",
"serve-static": "github:DefinitelyTyped/DefinitelyTyped/serve-static/serve-static.d.ts#0d622d857f97d44ea7dcad2b3edec1f23c48fe9e",
"socket.io": "github:DefinitelyTyped/DefinitelyTyped/socket.io/socket.io.d.ts#d22516f9f089de107d7e7d5938566377370631f6",
"socket.io-client": "github:DefinitelyTyped/DefinitelyTyped/socket.io-client/socket.io-client.d.ts#d22516f9f089de107d7e7d5938566377370631f6",
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#d22516f9f089de107d7e7d5938566377370631f6"
}
}