chore: unify tsconfig.json files (#883)

This commit is contained in:
Róbert Kiss
2018-12-22 00:46:17 +01:00
committed by László Monda
parent 9112b597f8
commit 58ee42fcc2
11 changed files with 32 additions and 2388 deletions

View File

@@ -705,6 +705,11 @@
"os-tmpdir": "~1.0.2" "os-tmpdir": "~1.0.2"
} }
}, },
"tslib": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
},
"tunnel-agent": { "tunnel-agent": {
"version": "0.6.0", "version": "0.6.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",

View File

@@ -20,6 +20,7 @@
"node-hid": "0.7.3", "node-hid": "0.7.3",
"sudo-prompt": "7.0.0", "sudo-prompt": "7.0.0",
"tmp": "0.0.33", "tmp": "0.0.33",
"tslib": "1.9.3",
"uhk-common": "^1.0.0", "uhk-common": "^1.0.0",
"uhk-usb": "^1.0.0" "uhk-usb": "^1.0.0"
}, },

View File

@@ -1,21 +1,7 @@
{ {
"compileOnSave": false, "extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"sourceMap": true, "baseUrl": "./src",
"declaration": false, "declaration": false
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2016",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2015.iterable",
"es2016",
"dom",
"dom.iterable"
]
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -18,6 +18,9 @@
"test": "jasmine-ts --config=jasmine.json", "test": "jasmine-ts --config=jasmine.json",
"coverage": "nyc jasmine-ts --config=jasmine.json" "coverage": "nyc jasmine-ts --config=jasmine.json"
}, },
"dependencies": {
"tslib": "1.9.3"
},
"license": "GPL-3.0", "license": "GPL-3.0",
"nyc": { "nyc": {
"extension": [ "extension": [

View File

@@ -1,19 +1,6 @@
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.json",
"compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"sourceMap": true, "outDir": "./dist"
"outDir": "./dist",
"declaration": true,
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"lib": [
"es2015.iterable",
"dom",
"es2016"
]
} }
} }

View File

@@ -426,6 +426,11 @@
"resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz", "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz",
"integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==" "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg=="
}, },
"tslib": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
},
"tunnel-agent": { "tunnel-agent": {
"version": "0.6.0", "version": "0.6.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",

View File

@@ -12,6 +12,7 @@
}, },
"dependencies": { "dependencies": {
"node-hid": "0.7.3", "node-hid": "0.7.3",
"tslib": "1.9.3",
"uhk-common": "1.0.0" "uhk-common": "1.0.0"
} }
} }

View File

@@ -1,21 +1,6 @@
{ {
"compileOnSave": false, "extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"sourceMap": true, "outDir": "./dist"
"outDir": "./dist",
"declaration": false,
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2016",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2015.iterable",
"dom",
"es2016"
]
} }
} }

View File

@@ -1,16 +1,10 @@
{ {
"extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../uhk-agent/dist/out-tsc", "outDir": "../uhk-agent/dist/out-tsc",
"sourceMap": true, "baseUrl": ".",
"declaration": false, "declaration": false,
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5", "target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [ "lib": [
"es2015.iterable", "es2015.iterable",
"dom", "dom",

View File

@@ -7,6 +7,7 @@
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es5" "target": "es2016",
"importHelpers": true
} }
} }