Skip to content

Commit 4c1d3e3

Browse files
committed
Updated tsconfig in order to build a code with latest ES features
1 parent 8bb35a8 commit 4c1d3e3

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
# node-onion-scaffold
1+
# node-onion-scaffold
2+

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "https://github.com/YegorMedvedev",
55
"license": "MIT",
66
"engines": {
7-
"node": ">=12.0.0"
7+
"node": ">=12.16.0"
88
},
99
"scripts": {
1010
"prebuild": "rm -rf ./build",
@@ -61,7 +61,7 @@
6161
"*.ts": [
6262
"prettier --config .prettierrc --write",
6363
"tslint -c tslint.json -p tsconfig.json --fix",
64-
"git add"
64+
"git add ."
6565
]
6666
},
6767
"husky": {

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"compilerOptions": {
3+
"lib": ["es2020"],
34
"module": "commonjs",
5+
"target": "es2019",
46
"declaration": true,
57
"removeComments": false,
68
"emitDecoratorMetadata": true,
79
"experimentalDecorators": true,
8-
"target": "es2017",
910
"sourceMap": true,
1011
"outDir": "./build",
1112
"baseUrl": "./",

0 commit comments

Comments
 (0)