The buildpack config doesn't seem to be needed. This would affect review apps, staging, and self-hosting. Also, devDependencies are installed by default during the build: https://devcenter.heroku.com/changelog-items/1376 By removing `NPM_CONFIG_PRODUCTION=false` we allow these to be pruned so they're kept out of the slug. This also has the advantage of creating a test environment in PRs where missing production dependencies will cause things to break. That'd be a good thing!
25 lines
657 B
JSON
25 lines
657 B
JSON
{
|
|
"name": "Shields",
|
|
"description": "Concise, consistent, and legible badges in SVG and raster format.",
|
|
"keywords": ["badge", "github", "svg", "status"],
|
|
"website": "https://shields.io/",
|
|
"repository": "https://github.com/badges/shields",
|
|
"logo": "http://shields.io/favicon.png",
|
|
"env": {
|
|
"WHEELMAP_TOKEN": {
|
|
"description": "Configure the token to be used for the Wheelmap service.",
|
|
"required": false
|
|
},
|
|
"GH_TOKEN": {
|
|
"description": "Configure the token to be used for the GitHub services.",
|
|
"required": false
|
|
}
|
|
},
|
|
"formation": {
|
|
"web": {
|
|
"quantity": 1,
|
|
"size": "free"
|
|
}
|
|
}
|
|
}
|