From cac0cf55e34d8f82180eb123576218c7b814674e Mon Sep 17 00:00:00 2001 From: Maykel Arias Torres Date: Thu, 8 Aug 2019 09:28:46 -0400 Subject: [PATCH] [skyapi-fetch] refs #11 Support ES5 --- lib/skyapi/fetch/README.md | 2 +- lib/skyapi/fetch/package.json | 4 ++-- lib/skyapi/fetch/tsconfig.json | 6 +++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/skyapi/fetch/README.md b/lib/skyapi/fetch/README.md index 232e4d9..0e206d7 100644 --- a/lib/skyapi/fetch/README.md +++ b/lib/skyapi/fetch/README.md @@ -42,4 +42,4 @@ npm install @simelo/skyapi-fetch@0.27.0 --save _unPublished (not recommended):_ ``` -npm install @simelo/skyapi-fetch@0.27.0 --save +npm install PATH_TO_GENERATED_PACKAGE --save diff --git a/lib/skyapi/fetch/package.json b/lib/skyapi/fetch/package.json index dd92a5d..d7cab55 100644 --- a/lib/skyapi/fetch/package.json +++ b/lib/skyapi/fetch/package.json @@ -1,8 +1,8 @@ { "name": "@simelo/skyapi-fetch", "version": "0.27.0", - "description": "OpenAPI client for skyapi-fetch", - "author": "Maykel Arias Torres", + "description": "OpenAPI client for @simelo/skyapi-fetch", + "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts" : { diff --git a/lib/skyapi/fetch/tsconfig.json b/lib/skyapi/fetch/tsconfig.json index 6cc0287..d65f2a9 100644 --- a/lib/skyapi/fetch/tsconfig.json +++ b/lib/skyapi/fetch/tsconfig.json @@ -1,11 +1,15 @@ { "compilerOptions": { "declaration": true, - "target": "es6", + "target": "es5", "module": "commonjs", "moduleResolution": "node", "outDir": "dist", "rootDir": ".", + "lib": [ + "es6", + "dom" + ], "typeRoots": [ "node_modules/@types" ]