Skip to content

Commit aa50547

Browse files
committed
Add engines to the package.json template
The generated modules use `brotliDecompressSync` (Node.js 11.7+) and `Object.fromEntries` (Node.js 12+). Issue: #109
1 parent 3a21648 commit aa50547

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎templates/package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@
2626
"url": "git+https://github.com/node-unicode/unicode-<%= version %>.git"
2727
},
2828
"bugs": "https://github.com/node-unicode/node-unicode-data/issues",
29+
"engines": {
30+
"node": ">=12"
31+
},
2932
"typesVersions": <%= typesVersions %>
3033
}

0 commit comments

Comments
 (0)