Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
feat: Set ES6 as target and require Node >= 10.9 (#79)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js >= 10.9 is required.
  • Loading branch information
ffflorian authored Jul 17, 2019
1 parent 51bb18f commit e77b9b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"tslint-plugin-prettier": "2.0.1",
"typescript": "3.5.3"
},
"engines": {
"node": ">= 10.9"
},
"files": [
"dist",
"scripts"
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"alwaysStrict": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"lib": ["dom", "esnext"],
"lib": ["esnext"],
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": true,
Expand All @@ -16,7 +16,7 @@
"sourceMap": true,
"strict": true,
"strictFunctionTypes": true,
"target": "es5"
"target": "es6"
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@

"@types/node@*", "@types/node@~12":
version "12.6.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.6.6.tgz#831587377c35bb28fa33b6fe5f849a26a3f4a412"
resolved "https://registry.npmjs.org/@types/node/-/node-12.6.6.tgz#831587377c35bb28fa33b6fe5f849a26a3f4a412"
integrity sha512-SMgj3x28MkJyHdWaMv/g/ca3LYDi5gR7O8mX0VKazvFOnmlDXctSEdd/8jfSqozjKFK1R9If1QZWkafX7yQTpA==

"@types/normalize-package-data@^2.4.0":
Expand Down

0 comments on commit e77b9b1

Please sign in to comment.