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", "homepage": "https://github.com/biesbjerg/ngx-translate-extract",
"engines": { "engines": {
"node": ">=12" "node": ">=11.15.0"
}, },
"config": {}, "config": {},
"devDependencies": { "devDependencies": {

View File

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