[Feature suggestion] Support `package.json` `engines.node` field
See original GitHub issueSuggestion for Node.js: default to package.json
engines.node
field (if present) instead of last 2 versions
.
Use case: I am writing Node.js libraries using Node 11
syntax, but compiling with Babel in order to support Node >=6
. I am declaring Node.js support with engines.node
. Babel preset-env
uses browserslist
. Currently I need to duplicate the information from engines.node
to a browserslist
configuration file or preset-env
configuration option.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Developers - [Feature suggestion] Support `package.json` `engines ...
[Feature suggestion] Support `package.json` `engines.node` field. ... Help and Information. Frequently Asked Questions · Bugs and Feature Requests · Fees ...
Read more >package.json - npm Docs
json are the name and version fields as they will be required. The name and version together form an identifier that is assumed...
Read more >Node Engines: Helping Developers Everywhere Avoid ...
Step 2: Specify Your Node Engine in the Package . Now that you know the version of Node, you can specify it in...
Read more >How can I specify the required Node.js version in package.json?
You can set the engines field in your package.json and set requirements for either node or npm versions or both: "engines" : {...
Read more >The Node.js runtime - App Engine - Google Cloud
json file by using the engines field. In this case, the runtime will ensure that the package manager used for the deployment has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And
project electron version
Another idea:
project node version