diff --git a/config/package.json b/config/package.json index 434059f601bb9be35c430d8528960e18acce13fc..8954af6dbf0a0bd6c0dabeae692bfee0ec5b954c 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 79ebf4045908ba056fb57d37c2f7c23db9f6dc2c..05f7cb2cf6eca01942bec8fa37cc8c02c06ed45f 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. */