itsthatguy / generator-spire

4 stars 5 forks source link

Specify a node/npm version #20

Open rylnd opened 8 years ago

rylnd commented 8 years ago

In order to easily move the project between environments (local dev, heroku, CI, etc.), I want to know which version of node and npm the project is meant to run under.

I know that heroku looks for an engines section in the package.json, but I am unsure if this is the most portable solution.

itsthatguy commented 8 years ago

.nvmrc?

rylnd commented 8 years ago

Well, it looks like nvm ignores the engines section of a package.json, and heroku ignores the .nvmrc. We should probably do both.

itsthatguy commented 8 years ago

(╯°□°)╯︵ ┻━┻