Require node >=v11.5.0 and make sure npm install fails if requirement is not met

This commit is contained in:
Kim Biesbjerg 2020-03-25 12:28:20 +01:00
parent ecf629118a
commit f157025f0a
3 changed files with 4 additions and 4 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

View File

@ -57,7 +57,7 @@
},
"homepage": "https://github.com/biesbjerg/ngx-translate-extract",
"engines": {
"node": ">=12"
"node": ">=11.15.0"
},
"config": {},
"devDependencies": {

View File

@ -8,10 +8,9 @@
"noImplicitUseStrict": true,
"removeComments": true,
"declaration": true,
"target": "es2015",
"target": "es2019",
"lib": [
"dom",
"esnext.array"
"es2019"
],
"module": "commonjs",
"outDir": "dist",