Skip to content

Commit

Permalink
Require node >=v11.5.0 and make sure npm install fails if requirement…
Browse files Browse the repository at this point in the history
… is not met
  • Loading branch information
Kim Biesbjerg committed Mar 25, 2020
1 parent ecf6291 commit f157025
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"homepage": "https://github.com/biesbjerg/ngx-translate-extract",
"engines": {
"node": ">=12"
"node": ">=11.15.0"
},
"config": {},
"devDependencies": {
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
"noImplicitUseStrict": true,
"removeComments": true,
"declaration": true,
"target": "es2015",
"target": "es2019",
"lib": [
"dom",
"esnext.array"
"es2019"
],
"module": "commonjs",
"outDir": "dist",
Expand Down

0 comments on commit f157025

Please sign in to comment.