ci: update typings test to use standard typings (#14156)

Closes #14156
This commit is contained in:
Chuck Jazdzewski 2017-01-27 16:16:58 -08:00 committed by Miško Hevery
parent 8960d4990c
commit 3368f29a4d
2 changed files with 3 additions and 6 deletions

View File

@ -17,9 +17,7 @@ cp -R -v tools/typings-test/* $TMP
cd $TMP
# create package.json so that npm install doesn't pollute any parent node_modules's directory
npm init --yes
npm install ${LINKABLE_PKGS[*]}
npm install @types/es6-promise @types/es6-collections @types/jasmine rxjs@5.0.0-beta.11
npm install typescript@2.0.2
npm install ${LINKABLE_PKGS[*]} @types/jasmine rxjs@5.0 zone.js@0.7 typescript@2.0.2
$(npm bin)/tsc --version
$(npm bin)/tsc -p tsconfig.json
)

View File

@ -6,12 +6,11 @@
"moduleResolution": "node",
"outDir": "../../dist/typing-test/",
"rootDir": ".",
"target": "es5"
"target": "es5",
"lib": ["es5", "dom", "es2015.collection", "es2015.iterable", "es2015.promise"]
},
"files": [
"include-all.ts",
"node_modules/@types/es6-promise/index.d.ts",
"node_modules/@types/es6-collections/index.d.ts",
"node_modules/@types/jasmine/index.d.ts"
]
}