cleanup
This commit is contained in:
parent
cfcf49b154
commit
8e27ff1295
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,3 +2,6 @@
|
|||||||
coverage/
|
coverage/
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
|
ts/**/*.js
|
||||||
|
ts/**/*.js.map
|
||||||
|
ts/typings/
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
//import classes
|
|
||||||
var ProjectinfoNPM = require("./projectinfo.npm");
|
|
||||||
var projectinfo = {};
|
|
||||||
projectinfo.npm = function (cwdArg) {
|
|
||||||
return new ProjectinfoNPM(cwdArg);
|
|
||||||
};
|
|
||||||
module.exports = projectinfo;
|
|
||||||
//# sourceMappingURL=index.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,gBAAgB;AAChB,IAAO,cAAc,WAAW,mBAAmB,CAAC,CAAC;AAErD,IAAI,WAAW,GAAO,EAAE,CAAC;AAEzB,WAAW,CAAC,GAAG,GAAG,UAAS,MAAM;IAC7B,MAAM,CAAC,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;AACtC,CAAC,CAAC;AAYF,iBAAS,WAAW,CAAC"}
|
|
@ -1,12 +0,0 @@
|
|||||||
/// <reference path="./typings/main.d.ts" />
|
|
||||||
var plugins = require("./projectinfo.plugins");
|
|
||||||
var ProjectinfoNPM = (function () {
|
|
||||||
function ProjectinfoNPM(cwdArg) {
|
|
||||||
this.packageJson = plugins.smartfile.readFileToObject(plugins.path.join(plugins.path.resolve(cwdArg), "package.json"));
|
|
||||||
this.name = this.packageJson.name;
|
|
||||||
this.version = this.packageJson.version;
|
|
||||||
}
|
|
||||||
return ProjectinfoNPM;
|
|
||||||
})();
|
|
||||||
module.exports = ProjectinfoNPM;
|
|
||||||
//# sourceMappingURL=projectinfo.npm.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"projectinfo.npm.js","sourceRoot":"","sources":["projectinfo.npm.ts"],"names":["ProjectinfoNPM","ProjectinfoNPM.constructor"],"mappings":"AAAA,4CAA4C;AAC5C,IAAO,OAAO,WAAW,uBAAuB,CAAC,CAAC;AAClD;IAKIA,wBAAYA,MAAMA;QACdC,IAAIA,CAACA,WAAWA,GAAGA,OAAOA,CAACA,SAASA,CAACA,gBAAgBA,CACjDA,OAAOA,CAACA,IAAIA,CAACA,IAAIA,CACbA,OAAOA,CAACA,IAAIA,CAACA,OAAOA,CAACA,MAAMA,CAACA,EAC5BA,cAAcA,CACjBA,CACJA,CAACA;QACFA,IAAIA,CAACA,IAAIA,GAAGA,IAAIA,CAACA,WAAWA,CAACA,IAAIA,CAACA;QAClCA,IAAIA,CAACA,OAAOA,GAAGA,IAAIA,CAACA,WAAWA,CAACA,OAAOA,CAACA;IAC5CA,CAACA;IACLD,qBAACA;AAADA,CAACA,AAfD,IAeC;AAED,iBAAS,cAAc,CAAC"}
|
|
@ -1,8 +0,0 @@
|
|||||||
/// <reference path="./typings/main.d.ts" />
|
|
||||||
var plugins = {
|
|
||||||
path: require("path"),
|
|
||||||
Q: require("q"),
|
|
||||||
smartfile: require("smartfile")
|
|
||||||
};
|
|
||||||
module.exports = plugins;
|
|
||||||
//# sourceMappingURL=projectinfo.plugins.js.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"projectinfo.plugins.js","sourceRoot":"","sources":["projectinfo.plugins.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,IAAI,OAAO,GAAG;IACV,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC;IACf,SAAS,EAAE,OAAO,CAAC,WAAW,CAAC;CAClC,CAAC;AAEF,iBAAS,OAAO,CAAC"}
|
|
3
ts/typings/browser.d.ts
vendored
3
ts/typings/browser.d.ts
vendored
@ -1,3 +0,0 @@
|
|||||||
/// <reference path="browser/ambient/colors/colors.d.ts" />
|
|
||||||
/// <reference path="browser/ambient/mocha/mocha.d.ts" />
|
|
||||||
/// <reference path="browser/ambient/node/node.d.ts" />
|
|
125
ts/typings/browser/ambient/colors/colors.d.ts
vendored
125
ts/typings/browser/ambient/colors/colors.d.ts
vendored
@ -1,125 +0,0 @@
|
|||||||
// Compiled using typings@0.6.8
|
|
||||||
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/colors/colors.d.ts
|
|
||||||
// Type definitions for Colors.js 0.6.0-1
|
|
||||||
// Project: https://github.com/Marak/colors.js
|
|
||||||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
|
||||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
||||||
|
|
||||||
declare module "colors" {
|
|
||||||
interface Color {
|
|
||||||
(text: string): string;
|
|
||||||
|
|
||||||
black: Color;
|
|
||||||
red: Color;
|
|
||||||
green: Color;
|
|
||||||
yellow: Color;
|
|
||||||
blue: Color;
|
|
||||||
magenta: Color;
|
|
||||||
cyan: Color;
|
|
||||||
white: Color;
|
|
||||||
gray: Color;
|
|
||||||
grey: Color;
|
|
||||||
|
|
||||||
bgBlack: Color;
|
|
||||||
bgRed: Color;
|
|
||||||
bgGreen: Color;
|
|
||||||
bgYellow: Color;
|
|
||||||
bgBlue: Color;
|
|
||||||
bgMagenta: Color;
|
|
||||||
bgCyan: Color;
|
|
||||||
bgWhite: Color;
|
|
||||||
|
|
||||||
reset: Color;
|
|
||||||
bold: Color;
|
|
||||||
dim: Color;
|
|
||||||
italic: Color;
|
|
||||||
underline: Color;
|
|
||||||
inverse: Color;
|
|
||||||
hidden: Color;
|
|
||||||
strikethrough: Color;
|
|
||||||
|
|
||||||
rainbow: Color;
|
|
||||||
zebra: Color;
|
|
||||||
america: Color;
|
|
||||||
trap: Color;
|
|
||||||
random: Color;
|
|
||||||
}
|
|
||||||
|
|
||||||
module e {
|
|
||||||
export function setTheme(theme:any): void;
|
|
||||||
|
|
||||||
export var black: Color;
|
|
||||||
export var red: Color;
|
|
||||||
export var green: Color;
|
|
||||||
export var yellow: Color;
|
|
||||||
export var blue: Color;
|
|
||||||
export var magenta: Color;
|
|
||||||
export var cyan: Color;
|
|
||||||
export var white: Color;
|
|
||||||
export var gray: Color;
|
|
||||||
export var grey: Color;
|
|
||||||
|
|
||||||
export var bgBlack: Color;
|
|
||||||
export var bgRed: Color;
|
|
||||||
export var bgGreen: Color;
|
|
||||||
export var bgYellow: Color;
|
|
||||||
export var bgBlue: Color;
|
|
||||||
export var bgMagenta: Color;
|
|
||||||
export var bgCyan: Color;
|
|
||||||
export var bgWhite: Color;
|
|
||||||
|
|
||||||
export var reset: Color;
|
|
||||||
export var bold: Color;
|
|
||||||
export var dim: Color;
|
|
||||||
export var italic: Color;
|
|
||||||
export var underline: Color;
|
|
||||||
export var inverse: Color;
|
|
||||||
export var hidden: Color;
|
|
||||||
export var strikethrough: Color;
|
|
||||||
|
|
||||||
export var rainbow: Color;
|
|
||||||
export var zebra: Color;
|
|
||||||
export var america: Color;
|
|
||||||
export var trap: Color;
|
|
||||||
export var random: Color;
|
|
||||||
}
|
|
||||||
|
|
||||||
export = e;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface String {
|
|
||||||
black: string;
|
|
||||||
red: string;
|
|
||||||
green: string;
|
|
||||||
yellow: string;
|
|
||||||
blue: string;
|
|
||||||
magenta: string;
|
|
||||||
cyan: string;
|
|
||||||
white: string;
|
|
||||||
gray: string;
|
|
||||||
grey: string;
|
|
||||||
|
|
||||||
bgBlack: string;
|
|
||||||
bgRed: string;
|
|
||||||
bgGreen: string;
|
|
||||||
bgYellow: string;
|
|
||||||
bgBlue: string;
|
|
||||||
bgMagenta: string;
|
|
||||||
bgCyan: string;
|
|
||||||
bgWhite: string;
|
|
||||||
|
|
||||||
reset: string;
|
|
||||||
bold: string;
|
|
||||||
dim: string;
|
|
||||||
italic: string;
|
|
||||||
underline: string;
|
|
||||||
inverse: string;
|
|
||||||
hidden: string;
|
|
||||||
strikethrough: string;
|
|
||||||
|
|
||||||
rainbow: string;
|
|
||||||
zebra: string;
|
|
||||||
america: string;
|
|
||||||
trap: string;
|
|
||||||
random: string;
|
|
||||||
}
|
|
40
ts/typings/browser/ambient/mocha/mocha.d.ts
vendored
40
ts/typings/browser/ambient/mocha/mocha.d.ts
vendored
@ -1,40 +0,0 @@
|
|||||||
// Compiled using typings@0.6.8
|
|
||||||
// Source: https://raw.githubusercontent.com/Bartvds/tsd-deftools/master/typings/DefinitelyTyped/mocha/mocha.d.ts
|
|
||||||
// Type definitions for mocha 1.9.0
|
|
||||||
// Project: http://visionmedia.github.io/mocha/
|
|
||||||
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
|
|
||||||
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
|
|
||||||
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
|
|
||||||
|
|
||||||
declare var describe : {
|
|
||||||
(description: string, spec: () => void): void;
|
|
||||||
only(description: string, spec: () => void): void;
|
|
||||||
skip(description: string, spec: () => void): void;
|
|
||||||
timeout(ms: number);
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var it: {
|
|
||||||
(expectation: string, assertion?: () => void): void;
|
|
||||||
(expectation: string, assertion?: (done: () => void) => void): void;
|
|
||||||
only(expectation: string, assertion?: () => void): void;
|
|
||||||
only(expectation: string, assertion?: (done: () => void) => void): void;
|
|
||||||
skip(expectation: string, assertion?: () => void): void;
|
|
||||||
skip(expectation: string, assertion?: (done: () => void) => void): void;
|
|
||||||
timeout(ms: number);
|
|
||||||
};
|
|
||||||
|
|
||||||
declare function before(action: () => void): void;
|
|
||||||
|
|
||||||
declare function before(action: (done: () => void) => void): void;
|
|
||||||
|
|
||||||
declare function aftet(action: () => void): void;
|
|
||||||
|
|
||||||
declare function after(action: (done: () => void) => void): void;
|
|
||||||
|
|
||||||
declare function beforeEach(action: () => void): void;
|
|
||||||
|
|
||||||
declare function beforeEach(action: (done: () => void) => void): void;
|
|
||||||
|
|
||||||
declare function afterEach(action: () => void): void;
|
|
||||||
|
|
||||||
declare function afterEach(action: (done: () => void) => void): void;
|
|
2196
ts/typings/browser/ambient/node/node.d.ts
vendored
2196
ts/typings/browser/ambient/node/node.d.ts
vendored
File diff suppressed because it is too large
Load Diff
3
ts/typings/main.d.ts
vendored
3
ts/typings/main.d.ts
vendored
@ -1,3 +0,0 @@
|
|||||||
/// <reference path="main/ambient/colors/colors.d.ts" />
|
|
||||||
/// <reference path="main/ambient/mocha/mocha.d.ts" />
|
|
||||||
/// <reference path="main/ambient/node/node.d.ts" />
|
|
125
ts/typings/main/ambient/colors/colors.d.ts
vendored
125
ts/typings/main/ambient/colors/colors.d.ts
vendored
@ -1,125 +0,0 @@
|
|||||||
// Compiled using typings@0.6.8
|
|
||||||
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/colors/colors.d.ts
|
|
||||||
// Type definitions for Colors.js 0.6.0-1
|
|
||||||
// Project: https://github.com/Marak/colors.js
|
|
||||||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
|
||||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
||||||
|
|
||||||
declare module "colors" {
|
|
||||||
interface Color {
|
|
||||||
(text: string): string;
|
|
||||||
|
|
||||||
black: Color;
|
|
||||||
red: Color;
|
|
||||||
green: Color;
|
|
||||||
yellow: Color;
|
|
||||||
blue: Color;
|
|
||||||
magenta: Color;
|
|
||||||
cyan: Color;
|
|
||||||
white: Color;
|
|
||||||
gray: Color;
|
|
||||||
grey: Color;
|
|
||||||
|
|
||||||
bgBlack: Color;
|
|
||||||
bgRed: Color;
|
|
||||||
bgGreen: Color;
|
|
||||||
bgYellow: Color;
|
|
||||||
bgBlue: Color;
|
|
||||||
bgMagenta: Color;
|
|
||||||
bgCyan: Color;
|
|
||||||
bgWhite: Color;
|
|
||||||
|
|
||||||
reset: Color;
|
|
||||||
bold: Color;
|
|
||||||
dim: Color;
|
|
||||||
italic: Color;
|
|
||||||
underline: Color;
|
|
||||||
inverse: Color;
|
|
||||||
hidden: Color;
|
|
||||||
strikethrough: Color;
|
|
||||||
|
|
||||||
rainbow: Color;
|
|
||||||
zebra: Color;
|
|
||||||
america: Color;
|
|
||||||
trap: Color;
|
|
||||||
random: Color;
|
|
||||||
}
|
|
||||||
|
|
||||||
module e {
|
|
||||||
export function setTheme(theme:any): void;
|
|
||||||
|
|
||||||
export var black: Color;
|
|
||||||
export var red: Color;
|
|
||||||
export var green: Color;
|
|
||||||
export var yellow: Color;
|
|
||||||
export var blue: Color;
|
|
||||||
export var magenta: Color;
|
|
||||||
export var cyan: Color;
|
|
||||||
export var white: Color;
|
|
||||||
export var gray: Color;
|
|
||||||
export var grey: Color;
|
|
||||||
|
|
||||||
export var bgBlack: Color;
|
|
||||||
export var bgRed: Color;
|
|
||||||
export var bgGreen: Color;
|
|
||||||
export var bgYellow: Color;
|
|
||||||
export var bgBlue: Color;
|
|
||||||
export var bgMagenta: Color;
|
|
||||||
export var bgCyan: Color;
|
|
||||||
export var bgWhite: Color;
|
|
||||||
|
|
||||||
export var reset: Color;
|
|
||||||
export var bold: Color;
|
|
||||||
export var dim: Color;
|
|
||||||
export var italic: Color;
|
|
||||||
export var underline: Color;
|
|
||||||
export var inverse: Color;
|
|
||||||
export var hidden: Color;
|
|
||||||
export var strikethrough: Color;
|
|
||||||
|
|
||||||
export var rainbow: Color;
|
|
||||||
export var zebra: Color;
|
|
||||||
export var america: Color;
|
|
||||||
export var trap: Color;
|
|
||||||
export var random: Color;
|
|
||||||
}
|
|
||||||
|
|
||||||
export = e;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface String {
|
|
||||||
black: string;
|
|
||||||
red: string;
|
|
||||||
green: string;
|
|
||||||
yellow: string;
|
|
||||||
blue: string;
|
|
||||||
magenta: string;
|
|
||||||
cyan: string;
|
|
||||||
white: string;
|
|
||||||
gray: string;
|
|
||||||
grey: string;
|
|
||||||
|
|
||||||
bgBlack: string;
|
|
||||||
bgRed: string;
|
|
||||||
bgGreen: string;
|
|
||||||
bgYellow: string;
|
|
||||||
bgBlue: string;
|
|
||||||
bgMagenta: string;
|
|
||||||
bgCyan: string;
|
|
||||||
bgWhite: string;
|
|
||||||
|
|
||||||
reset: string;
|
|
||||||
bold: string;
|
|
||||||
dim: string;
|
|
||||||
italic: string;
|
|
||||||
underline: string;
|
|
||||||
inverse: string;
|
|
||||||
hidden: string;
|
|
||||||
strikethrough: string;
|
|
||||||
|
|
||||||
rainbow: string;
|
|
||||||
zebra: string;
|
|
||||||
america: string;
|
|
||||||
trap: string;
|
|
||||||
random: string;
|
|
||||||
}
|
|
40
ts/typings/main/ambient/mocha/mocha.d.ts
vendored
40
ts/typings/main/ambient/mocha/mocha.d.ts
vendored
@ -1,40 +0,0 @@
|
|||||||
// Compiled using typings@0.6.8
|
|
||||||
// Source: https://raw.githubusercontent.com/Bartvds/tsd-deftools/master/typings/DefinitelyTyped/mocha/mocha.d.ts
|
|
||||||
// Type definitions for mocha 1.9.0
|
|
||||||
// Project: http://visionmedia.github.io/mocha/
|
|
||||||
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
|
|
||||||
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
|
|
||||||
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
|
|
||||||
|
|
||||||
declare var describe : {
|
|
||||||
(description: string, spec: () => void): void;
|
|
||||||
only(description: string, spec: () => void): void;
|
|
||||||
skip(description: string, spec: () => void): void;
|
|
||||||
timeout(ms: number);
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var it: {
|
|
||||||
(expectation: string, assertion?: () => void): void;
|
|
||||||
(expectation: string, assertion?: (done: () => void) => void): void;
|
|
||||||
only(expectation: string, assertion?: () => void): void;
|
|
||||||
only(expectation: string, assertion?: (done: () => void) => void): void;
|
|
||||||
skip(expectation: string, assertion?: () => void): void;
|
|
||||||
skip(expectation: string, assertion?: (done: () => void) => void): void;
|
|
||||||
timeout(ms: number);
|
|
||||||
};
|
|
||||||
|
|
||||||
declare function before(action: () => void): void;
|
|
||||||
|
|
||||||
declare function before(action: (done: () => void) => void): void;
|
|
||||||
|
|
||||||
declare function aftet(action: () => void): void;
|
|
||||||
|
|
||||||
declare function after(action: (done: () => void) => void): void;
|
|
||||||
|
|
||||||
declare function beforeEach(action: () => void): void;
|
|
||||||
|
|
||||||
declare function beforeEach(action: (done: () => void) => void): void;
|
|
||||||
|
|
||||||
declare function afterEach(action: () => void): void;
|
|
||||||
|
|
||||||
declare function afterEach(action: (done: () => void) => void): void;
|
|
2196
ts/typings/main/ambient/node/node.d.ts
vendored
2196
ts/typings/main/ambient/node/node.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user