From e7227721e149d12bc161505043f5ca8ff449bb31 Mon Sep 17 00:00:00 2001 From: Dmitry Karyakin <skycrazyk@gmail.com> Date: Tue, 22 Oct 2024 11:05:05 +0200 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20TS=20Target?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/package.json | 8 ++++---- config/tsconfig.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/package.json b/config/package.json index 434059f..8954af6 100644 --- a/config/package.json +++ b/config/package.json @@ -1,11 +1,11 @@ { "name": "@perxis-js/perxis-client", - "version": "1.5.11", - "description": "", - "main": "dist/index.js", + "version": "1.5.12", + "description": "Perxis API клиент для JavaScript", "files": [ - "dist/" + "dist" ], + "main": "./dist/index.js", "repository": { "type": "git", "url": "git+https://git.perx.ru/perxis/perxis-js.git" diff --git a/config/tsconfig.json b/config/tsconfig.json index 79ebf40..05f7cb2 100644 --- a/config/tsconfig.json +++ b/config/tsconfig.json @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, + "target": "ES2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ @@ -24,7 +24,7 @@ // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ /* Modules */ - "module": "NodeNext" /* Specify what module code is generated. */, + "module": "CommonJS" /* Specify what module code is generated. */, // "rootDir": "./", /* Specify the root folder within your source files. */ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ -- GitLab