fix: target es2018 to support node 10+

This commit is contained in:
M. George Hansen 2020-05-26 16:29:43 -07:00
parent a320962aa8
commit d6b7e9eb95
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM
6 changed files with 34 additions and 10 deletions

View file

@ -8,7 +8,7 @@
},
"license": "MPL-2.0",
"engines": {
"node": ">=12"
"node": ">=10"
},
"main": "dist/index.js",
"types": "types.d.ts",
@ -29,7 +29,7 @@
"test": "ts-node --project=test/tsconfig.json test/run-tests.ts"
},
"devDependencies": {
"@types/node": "~12",
"@types/node": "~10",
"@types/ws": "^7.2.4",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",