Use "lib" in tsconfigs instead of "target". (#13968)

* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
This commit is contained in:
Andy
2017-01-18 07:51:51 -08:00
committed by GitHub
parent c5506327ca
commit ae4fe7b6de
2896 changed files with 10548 additions and 3327 deletions

View File

@@ -5,7 +5,9 @@
],
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,

View File

@@ -1,7 +1,10 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
@@ -11,7 +14,9 @@
],
"types": [],
"paths": {
"node": ["node/v0"]
"node": [
"node/v0"
]
},
"noEmit": true,
"forceConsistentCasingInFileNames": true

View File

@@ -1,7 +1,10 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
@@ -11,7 +14,9 @@
],
"types": [],
"paths": {
"node": ["node/v4"]
"node": [
"node/v4"
]
},
"noEmit": true,
"forceConsistentCasingInFileNames": true

View File

@@ -1,7 +1,9 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
@@ -11,7 +13,9 @@
],
"types": [],
"paths": {
"node": ["node/v6"]
"node": [
"node/v6"
]
},
"noEmit": true,
"forceConsistentCasingInFileNames": true