Skip to content

Commit

Permalink
build(typescript): Add minimum node version (v8.10.x)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Minimum node version (v8.10.x)
  • Loading branch information
AlejandroHerr committed Dec 22, 2018
1 parent 1a1dd7a commit f0e0d53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@
"bluebird": "^3.5.3",
"i2c-bus": "^4.0.6",
"typescript": "^3.2.2"
},
"engines": {
"node": ">=8.10.0"
}
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2018",
"target": "es2017",
"outDir": "dist/main",
"rootDir": "src",
"moduleResolution": "node",
Expand Down Expand Up @@ -36,7 +36,7 @@
// "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */,
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,

"lib": ["es2017"],
"lib": ["es2018"],
"types": ["node", "jest"],
"typeRoots": ["node_modules/@types", "src/types"]
},
Expand Down

0 comments on commit f0e0d53

Please sign in to comment.