This is a buildpack for Node.js / io.js apps, powered by npm.
The buildpack will use npm to install your dependencies, vendoring a copy of the Node.js / io.js into your web container.
This is our default buildpack for Node.js / io.js applications. In case you want to introduce custom changes, fork the buildpack, apply changes and test them via the custom buildpack feature.
You can specify the versions of Node.js / io.js and npm your application
requires using package.json
.
{
"name": "myapp",
"version": "0.1.0",
"engines": {
"node": "~0.12.3",
"npm": "~2.11.0"
}
}
{
"name": "myapp",
"version": "0.1.0",
"engines": {
"iojs": "~2.0.2",
"npm": "~2.11.0"
}
}