diff --git a/packages/root/package.json b/packages/root/package.json index c3e689c..b36a9f0 100755 --- a/packages/root/package.json +++ b/packages/root/package.json @@ -13,6 +13,9 @@ "author": "Ilya Strus ", "license": "MIT", "types": "dist/index.d.ts", + "engines": { + "node": ">=10" + }, "scripts": { "build": "npm run clean && npm run compile", "clean": "rm -rf ./dist", diff --git a/tsconfig.build.json b/tsconfig.build.json index 4ba9b45..ba34699 100755 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -3,7 +3,7 @@ "declaration": true, "strictNullChecks": true, "esModuleInterop": true, - "target": "es6", + "target": "ES2018", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, diff --git a/tsconfig.json b/tsconfig.json index e3ce771..2adda0b 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "declaration": false, "strictNullChecks": true, "esModuleInterop": true, - "target": "es6", + "target": "ES2018", "module": "commonjs", "moduleResolution": "node", "sourceMap": true,