Skip to content

Commit

Permalink
chore(package): add engines to package.json (#337)
Browse files Browse the repository at this point in the history
this commit adds an engines field to the package to explicitly state
what versions of node/npm that are currently supported. the current
version of the package supports stencil v2 and up - stencil v2 supported
node 12+, which is the justification for such a low version of node/npm
in these fields
  • Loading branch information
rwaskiewicz committed Jun 21, 2023
1 parent d67fb2e commit 7e064f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.0.0"
},
"files": [
"dist/"
],
Expand Down

0 comments on commit 7e064f9

Please sign in to comment.