add heroku node

This commit is contained in:
Leifer Mendez
2022-01-18 19:47:39 +01:00
parent 1dbd8a8a67
commit 82c5af9605
2 changed files with 5 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
], ],
"buildpacks": [ "buildpacks": [
{ {
"url": "https://github.com/heroku/heroku-buildpack-google-chrome" "url": "heroku/nodejs"
}, },
{ {
"url": "https://github.com/jontewks/puppeteer-heroku-buildpack" "url": "https://github.com/jontewks/puppeteer-heroku-buildpack"

View File

@@ -2,7 +2,7 @@
"name": "test-ws-bot", "name": "test-ws-bot",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "app.js",
"scripts": { "scripts": {
"start": "node ./app.js", "start": "node ./app.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
@@ -29,5 +29,8 @@
"devDependencies": { "devDependencies": {
"pm2": "^5.1.2", "pm2": "^5.1.2",
"prettier": "2.5.1" "prettier": "2.5.1"
},
"engines": {
"node": "14.x"
} }
} }