diff --git a/.travis.yml b/.travis.yml index b31a0fe0392442ee43d37d63c61cf00abd888658..6c13b8ef32451fe9b8515a195c5399ecf8492d4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ jobs: - stage: test name: Test node_js: - - 10.16.3 + - 12.15.0 script: - yarn lint - yarn test @@ -16,7 +16,7 @@ jobs: name: Deploy script: yarn build node_js: - - 10.16.3 + - 12.15.0 deploy: provider: npm skip_cleanup: true diff --git a/package.json b/package.json index 31b317451e87a8cab64b3d8294e4bf513e0f62e3..c19afe2cc8c91a987809788ee29cc117bcbf5b08 100644 --- a/package.json +++ b/package.json @@ -52,5 +52,8 @@ "ts-node": "^8.4.1", "typescript": "^3.5.3", "wait-for-expect": "^3.0.1" + }, + "engines": { + "node": ">=12.15.0" } } diff --git a/tsconfig.json b/tsconfig.json index 9bc8bfe3ed99ef50155d79dbdbd8913724988523..31fc7716e4d4591f432e2f5bf435e37d615d69ef 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "removeComments": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es6", + "target": "ES2019", "sourceMap": true, "outDir": "./dist", "baseUrl": "./src",