Updated to newest node, refactored for heroku

This commit is contained in:
Senad Uka
2019-03-14 05:41:06 +01:00
parent 7fc24add1f
commit a4ed76e29b
26 changed files with 60 additions and 106 deletions

View File

@@ -2,9 +2,11 @@
"name": "marketalarm",
"version": "1.0.0",
"description": "Market Alarm",
"main": "./backend/index.js",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./index.js",
"heroku-postbuild": "cd frontend-react && npm install && npm run build"
},
"repository": {
"type": "git",
@@ -16,10 +18,12 @@
"node": "11.10.x"
},
"dependencies": {
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./backend/index.js",
"heroku-postbuild": "cd frontend-react && npm install && npm run build && cd .. && cd backend && npm install"
"2checkout-node": "0.0.1",
"@sendgrid/mail": "^6.3.1",
"cheerio": "^1.0.0-rc.2",
"express": "^4.16.4",
"mysql2": "^1.6.4",
"node-fetch": "^2.3.0",
"sequelize": "^4.42.0"
}
}