Return to old way of including web3 types
This commit is contained in:
parent
a3274ac9b1
commit
78fd942faa
@ -9,6 +9,7 @@
|
|||||||
"./test/**/*",
|
"./test/**/*",
|
||||||
"../../node_modules/types-bn/index.d.ts",
|
"../../node_modules/types-bn/index.d.ts",
|
||||||
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
||||||
|
"../../node_modules/web3-typescript-typings/index.d.ts",
|
||||||
"../../node_modules/chai-typescript-typings/index.d.ts",
|
"../../node_modules/chai-typescript-typings/index.d.ts",
|
||||||
"../../node_modules/chai-as-promised-typescript-typings/index.d.ts"
|
"../../node_modules/chai-as-promised-typescript-typings/index.d.ts"
|
||||||
]
|
]
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib"
|
"outDir": "lib"
|
||||||
},
|
},
|
||||||
"include": ["./src/**/*", "./test/**/*"]
|
"include": ["./src/**/*", "./test/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
"include": [
|
"include": [
|
||||||
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
||||||
"../../node_modules/chai-typescript-typings/index.d.ts",
|
"../../node_modules/chai-typescript-typings/index.d.ts",
|
||||||
|
"../../node_modules/web3-typescript-typings/index.d.ts",
|
||||||
"../../node_modules/chai-as-promised-typescript-typings/index.d.ts",
|
"../../node_modules/chai-as-promised-typescript-typings/index.d.ts",
|
||||||
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
||||||
"../../node_modules/types-bn/index.d.ts",
|
"../../node_modules/types-bn/index.d.ts",
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib"
|
"outDir": "lib"
|
||||||
},
|
},
|
||||||
"include": ["./src/ts/**/*"]
|
"include": ["./src/ts/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
"./src/**/*",
|
"./src/**/*",
|
||||||
"./test/**/*",
|
"./test/**/*",
|
||||||
"../../node_modules/chai-typescript-typings/index.d.ts",
|
"../../node_modules/chai-typescript-typings/index.d.ts",
|
||||||
|
"../../node_modules/web3-typescript-typings/index.d.ts",
|
||||||
"../../node_modules/types-bn/index.d.ts",
|
"../../node_modules/types-bn/index.d.ts",
|
||||||
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
"../../node_modules/types-ethereumjs-util/index.d.ts",
|
||||||
"../../node_modules/chai-as-promised-typescript-typings/index.d.ts"
|
"../../node_modules/chai-as-promised-typescript-typings/index.d.ts"
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib"
|
"outDir": "lib"
|
||||||
},
|
},
|
||||||
"include": ["./src/**/*"]
|
"include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib"
|
"outDir": "lib"
|
||||||
},
|
},
|
||||||
"include": ["./src/**/*"]
|
"include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
|
||||||
}
|
}
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
"name": "web3-typescript-typings",
|
"name": "web3-typescript-typings",
|
||||||
"version": "0.9.0",
|
"version": "0.9.0",
|
||||||
"description": "Typescript type definitions for web3",
|
"description": "Typescript type definitions for web3",
|
||||||
"main": "web3/index.d.ts",
|
"main": "index.d.ts",
|
||||||
"types": "web3/index.d.ts",
|
"types": "index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "tslint web3/index.d.ts"
|
"lint": "tslint index.d.ts"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -22,7 +22,7 @@
|
|||||||
"@types/bignumber.js": "^4.0.2",
|
"@types/bignumber.js": "^4.0.2",
|
||||||
"tslint": "^5.5.0",
|
"tslint": "^5.5.0",
|
||||||
"tslint-config-0xproject": "^0.0.2",
|
"tslint-config-0xproject": "^0.0.2",
|
||||||
"typescript": "^2.4.2"
|
"typescript": "~2.6.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bignumber.js": "~4.1.0"
|
"bignumber.js": "~4.1.0"
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib"
|
"outDir": "lib"
|
||||||
},
|
},
|
||||||
"include": ["./src/**/*"]
|
"include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": false,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
"*": ["node_modules/@types/*", "*"]
|
"*": ["node_modules/@types/*", "*"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user