update npmts and switch to npmts version 2.x.x
This commit is contained in:
parent
6594932cbd
commit
95e874c8e8
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="ts/typings/tsd.d.ts" />
|
/// <reference path="ts/typings/main.d.ts" />
|
||||||
declare module GulpBrowserBrowserify {
|
declare module GulpBrowserBrowserify {
|
||||||
function init(): () => any;
|
function init(): () => any;
|
||||||
}
|
}
|
||||||
|
2
index.js
2
index.js
@ -22,7 +22,7 @@ var GulpBrowserBrowserify;
|
|||||||
}
|
}
|
||||||
GulpBrowserBrowserify.init = init;
|
GulpBrowserBrowserify.init = init;
|
||||||
})(GulpBrowserBrowserify || (GulpBrowserBrowserify = {}));
|
})(GulpBrowserBrowserify || (GulpBrowserBrowserify = {}));
|
||||||
/// <reference path="./typings/tsd.d.ts" />
|
/// <reference path="./typings/main.d.ts" />
|
||||||
/// <reference path="./modulebrowserify.ts" />
|
/// <reference path="./modulebrowserify.ts" />
|
||||||
var plugins = {
|
var plugins = {
|
||||||
beautylog: require("beautylog"),
|
beautylog: require("beautylog"),
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"description": "browserify and other goodies for gulp",
|
"description": "browserify and other goodies for gulp",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(npmts) && (node test.js)",
|
"test": "(npmts)",
|
||||||
"reinstall": "(rm -r node_modules && npm install)",
|
"reinstall": "(rm -r node_modules && npm install)",
|
||||||
"release": "(git pull origin master && npm version patch && git push origin master && git checkout release && git merge master && git push origin release && git checkout master)",
|
"release": "(git pull origin master && npm version patch && git push origin master && git checkout release && git merge master && git push origin release && git checkout master)",
|
||||||
"update": "(git checkout master && git pull origin master && npm install)",
|
"update": "(git checkout master && git pull origin master && npm install)",
|
||||||
@ -33,6 +33,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp": "3.9.0",
|
"gulp": "3.9.0",
|
||||||
"gulp-callfunction": "0.0.10",
|
"gulp-callfunction": "0.0.10",
|
||||||
"npmts": "^1.0.9"
|
"npmts": "^2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="./typings/tsd.d.ts" />
|
/// <reference path="./typings/main.d.ts" />
|
||||||
var plugins = {
|
var plugins = {
|
||||||
beautylog: require("beautylog"),
|
beautylog: require("beautylog"),
|
||||||
gulp: require("gulp"),
|
gulp: require("gulp"),
|
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="./typings/tsd.d.ts" />
|
/// <reference path="./typings/main.d.ts" />
|
||||||
/// <reference path="./modulebrowserify.ts" />
|
/// <reference path="./modulebrowserify.ts" />
|
||||||
|
|
||||||
var plugins = {
|
var plugins = {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="./typings/tsd.d.ts" />
|
/// <reference path="./typings/main.d.ts" />
|
||||||
|
|
||||||
var plugins = {
|
var plugins = {
|
||||||
beautylog: require("beautylog"),
|
beautylog: require("beautylog"),
|
||||||
|
6
ts/typings.json
Normal file
6
ts/typings.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"ambientDependencies": {
|
||||||
|
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9",
|
||||||
|
"browserify": "github:DefinitelyTyped/DefinitelyTyped/browserify/browserify.d.ts#3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9"
|
||||||
|
}
|
||||||
|
}
|
2
ts/typings/browser.d.ts
vendored
Normal file
2
ts/typings/browser.d.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/// <reference path="browser/ambient/browserify/browserify.d.ts" />
|
||||||
|
/// <reference path="browser/ambient/node/node.d.ts" />
|
@ -1,9 +1,10 @@
|
|||||||
|
// Compiled using typings@0.6.3
|
||||||
|
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9/browserify/browserify.d.ts
|
||||||
// Type definitions for Browserify
|
// Type definitions for Browserify
|
||||||
// Project: http://browserify.org/
|
// Project: http://browserify.org/
|
||||||
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar/>
|
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar/>
|
||||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||||
|
|
||||||
/// <reference path="../node/node.d.ts" />
|
|
||||||
|
|
||||||
interface BrowserifyObject extends NodeJS.EventEmitter {
|
interface BrowserifyObject extends NodeJS.EventEmitter {
|
||||||
add(file:string, opts?:any): BrowserifyObject;
|
add(file:string, opts?:any): BrowserifyObject;
|
@ -1,3 +1,5 @@
|
|||||||
|
// Compiled using typings@0.6.3
|
||||||
|
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9/node/node.d.ts
|
||||||
// Type definitions for Node.js v0.12.0
|
// Type definitions for Node.js v0.12.0
|
||||||
// Project: http://nodejs.org/
|
// Project: http://nodejs.org/
|
||||||
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/borisyankov/DefinitelyTyped>
|
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/borisyankov/DefinitelyTyped>
|
2
ts/typings/main.d.ts
vendored
Normal file
2
ts/typings/main.d.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/// <reference path="main/ambient/browserify/browserify.d.ts" />
|
||||||
|
/// <reference path="main/ambient/node/node.d.ts" />
|
42
ts/typings/main/ambient/browserify/browserify.d.ts
vendored
Normal file
42
ts/typings/main/ambient/browserify/browserify.d.ts
vendored
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
// Compiled using typings@0.6.3
|
||||||
|
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/3191f6e0088eee07c4d8fd24e4d27a40a60d9eb9/browserify/browserify.d.ts
|
||||||
|
// Type definitions for Browserify
|
||||||
|
// Project: http://browserify.org/
|
||||||
|
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar/>
|
||||||
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||||
|
|
||||||
|
|
||||||
|
interface BrowserifyObject extends NodeJS.EventEmitter {
|
||||||
|
add(file:string, opts?:any): BrowserifyObject;
|
||||||
|
require(file:string, opts?:{
|
||||||
|
expose: string;
|
||||||
|
}): BrowserifyObject;
|
||||||
|
bundle(opts?:{
|
||||||
|
insertGlobals?: boolean;
|
||||||
|
detectGlobals?: boolean;
|
||||||
|
debug?: boolean;
|
||||||
|
standalone?: string;
|
||||||
|
insertGlobalVars?: any;
|
||||||
|
}, cb?:(err:any, src:any) => void): NodeJS.ReadableStream;
|
||||||
|
|
||||||
|
external(file:string, opts?:any): BrowserifyObject;
|
||||||
|
ignore(file:string, opts?:any): BrowserifyObject;
|
||||||
|
transform(tr:string, opts?:any): BrowserifyObject;
|
||||||
|
transform(tr:Function, opts?:any): BrowserifyObject;
|
||||||
|
plugin(plugin:string, opts?:any): BrowserifyObject;
|
||||||
|
plugin(plugin:Function, opts?:any): BrowserifyObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Browserify {
|
||||||
|
(): BrowserifyObject;
|
||||||
|
(files:string[]): BrowserifyObject;
|
||||||
|
(opts:{
|
||||||
|
entries?: string[];
|
||||||
|
noParse?: string[];
|
||||||
|
}): BrowserifyObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare module "browserify" {
|
||||||
|
var browserify: Browserify;
|
||||||
|
export = browserify;
|
||||||
|
}
|
2094
ts/typings/main/ambient/node/node.d.ts
vendored
Normal file
2094
ts/typings/main/ambient/node/node.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2
ts/typings/tsd.d.ts
vendored
2
ts/typings/tsd.d.ts
vendored
@ -1,2 +0,0 @@
|
|||||||
/// <reference path="node/node.d.ts" />
|
|
||||||
/// <reference path="browserify/browserify.d.ts" />
|
|
Loading…
Reference in New Issue
Block a user