Skip to content

Commit

Permalink
build: set ts target to ES2018
Browse files Browse the repository at this point in the history
minimum supported NodeJS version is now 10.10.0

BREAKING CHANGE: drop NodeJS  v8.x support
  • Loading branch information
kukhariev committed Mar 2, 2021
1 parent f32ed23 commit 2e82de0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": "kukhariev/diskinfo",
"engines": {
"node": ">= 8.0.0"
"node": ">= 10.10.0"
},
"license": "MIT",
"files": [
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"compilerOptions": {
"module": "commonjs",
"outDir": "./lib",
"target": "es2015",
"target": "ES2018",
"declaration": true,
"noImplicitAny": true
},
"include": ["./src/**/*"],
"exclude": ["./test/*.spec.ts"],

"exclude": ["./test/*.spec.ts"]
}

0 comments on commit 2e82de0

Please sign in to comment.