Return to old way of including web3 types

This commit is contained in:
Leonid Logvinov 2018-01-05 13:32:01 +01:00
parent a3274ac9b1
commit 78fd942faa
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
11 changed files with 13 additions and 10 deletions

View File

@ -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"
] ]

View File

@ -3,5 +3,5 @@
"compilerOptions": { "compilerOptions": {
"outDir": "lib" "outDir": "lib"
}, },
"include": ["./src/**/*", "./test/**/*"] "include": ["./src/**/*", "./test/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
} }

View File

@ -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",

View File

@ -3,5 +3,5 @@
"compilerOptions": { "compilerOptions": {
"outDir": "lib" "outDir": "lib"
}, },
"include": ["./src/ts/**/*"] "include": ["./src/ts/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
} }

View File

@ -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"

View File

@ -3,5 +3,5 @@
"compilerOptions": { "compilerOptions": {
"outDir": "lib" "outDir": "lib"
}, },
"include": ["./src/**/*"] "include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
} }

View File

@ -3,5 +3,5 @@
"compilerOptions": { "compilerOptions": {
"outDir": "lib" "outDir": "lib"
}, },
"include": ["./src/**/*"] "include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
} }

View File

@ -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"

View File

@ -3,5 +3,5 @@
"compilerOptions": { "compilerOptions": {
"outDir": "lib" "outDir": "lib"
}, },
"include": ["./src/**/*"] "include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
} }

View File

@ -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/*", "*"]